mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-29 13:17:56 +00:00
Revert "Addcommand documentation"
This reverts commit d6611e4158dd710438794fc93b3879c362534bf3.
This commit is contained in:
parent
f522ecd923
commit
a89ca3899a
@ -66,7 +66,7 @@ Command | Role | Available at | Description
|
|||||||
`/ban <reason>` | _Admin_ | _Groups_ | Bans the user from groups.
|
`/ban <reason>` | _Admin_ | _Groups_ | Bans the user from groups.
|
||||||
`/unban` | _Admin_ | _Everywhere_ | Removes the user from ban list.
|
`/unban` | _Admin_ | _Everywhere_ | Removes the user from ban list.
|
||||||
`/user` | _Admin_ | _Everywhere_ | Shows the status of the user.
|
`/user` | _Admin_ | _Everywhere_ | Shows the status of the user.
|
||||||
`/addcommand <name>` | _Admin_ | _In-Bot_ | Create a custom command. Message used to add the command must not be deleted. Optional -replace flag.
|
`/addcommand <name>` | _Admin_ | _In-Bot_ | Create a custom command.
|
||||||
`/removecommand <name>` | _Admin_ | _In-Bot_ | Remove a custom command.
|
`/removecommand <name>` | _Admin_ | _In-Bot_ | Remove a custom command.
|
||||||
`/staff` | _Everyone_ | _Everywhere_ | Shows a list of admins.
|
`/staff` | _Everyone_ | _Everywhere_ | Shows a list of admins.
|
||||||
`/link` | _Everyone_ | _Everywhere_ | Shows the current group's link.
|
`/link` | _Everyone_ | _Everywhere_ | Shows the current group's link.
|
||||||
|
@ -18,7 +18,7 @@ if (process.env.NODE_ENV === 'development') {
|
|||||||
|
|
||||||
module.exports = bot;
|
module.exports = bot;
|
||||||
|
|
||||||
// Otherwise the bot can't ban on reaching max warns due to botInfo not being available to get its admin ID
|
// Elsewhere the bot can't ban on reaching max warns due to botInfo not being available to get its admin ID
|
||||||
Object.defineProperty(bot.context, "botInfo", {
|
Object.defineProperty(bot.context, "botInfo", {
|
||||||
get () { return bot.botInfo; }
|
get () { return bot.botInfo; }
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user