|
|
| Line 1: |
Line 1: |
| --[[
| | {{funclib|Sky}} |
| -- updateSlashCommand ( {slashCommandParts}, ... )
| | |
| -- | | --[[ Validates a Hostess ]]-- |
| -- Updates a /command member if its valid. | |
| --
| |
| -- e.g.
| |
| -- updateSlashCommand({id="myID";onExecute = fooFunc; } );
| |
| --
| |
| -- will change the onExecute function for myID.
| |
| --
| |
| -- arg members:
| |
| -- id - the ID matching the old slashCommand
| |
| -- member - onExecute | onSpace | onTab | commands | action | helpText
| |
| -- newvalue - the new value.
| |
| --
| |
| -- returns:
| |
| -- true - successfully replace.
| |
| -- false - validation failed
| |
| --]]
| |
|
| |
|
| [[Category:Cosmos AddOns]]
| | {{Stub/Other}} |