Expand description
Bot management commands (specification §8.13). Install, update, grant, enable, disable, remove and register are the owner’s alone; list and get are open to every member.
Structs§
- Bots
bot.listresponse.- Configure
bot.configure: the owner sets or clears values of the settings the bot’s manifest declares. With neither, it only reads them.- Configured
bot.configureresponse: the values the owner set, secrets shown as"••••".- Disable
bot.disable.- Enable
bot.enable(distinct type so the command table can name it).- Grant
bot.grant: the new effective grants, replacing the old.- Grant
Choice - Optional grant choices of
bot.install: absent means everything the manifest asks for, within the operator’s ceiling. - Install
bot.install.- List
bot.list.- Register
bot.register: mark an existing member as an external bot.- Remove
bot.remove.- Target
bot.enable,bot.disable,bot.get.- Update
bot.update.
Constants§
- MASKED
- How a secret value is shown.
Functions§
- chosen
- Full grants from a choice and the manifest’s request.