#(jepu_bot) Getting a command's description from the command name

9 messages · Page 1 of 1 (latest)

jagged fern
#

How do I get the commands description using the command name only? assuming I don't know its command script

tender windBOT
#

(jepu_bot) Getting a command's description from the command name

tender windBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

peak oracleBOT
# errant anvil !t plugin.commands

Gets a map of commands registered this plugin registers by default.
Note that dynamically registered commands won't show up (for example, command scripts won't be listed under Denizen).
Map key is command name, map value is a sub-mapping with keys:
description (ElementTag), usage (ElementTag), permission (ElementTag), aliases (ListTag)
Not all keys will be present.
For example, <plugin[denizen].commands.get[ex]> will return a MapTag with:
[description=Executes a Denizen script command.;usage=/ex (-q) <Denizen script command> (arguments);permission=denizen.ex]

Returns

MapTag(MapTag)

errant anvil
#

Read thru the whole description ^ there's an example for what you need in there

jagged fern
#

this could kinda work, i was hoping for something that i only have to feed a command name while this requires the source plugin

#

nvm, some plugins are not registering their commands properly