#(jepu_bot) Getting a command's description from the command name
9 messages · Page 1 of 1 (latest)
(jepu_bot) Getting a command's description from the command name
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.
!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]
MapTag(MapTag)
Read thru the whole description ^ there's an example for what you need in there