mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 06:17:55 +00:00
add missing help text and redo the existing ones based on CommandHelp.cs
This commit is contained in:
parent
bdf6a6c345
commit
e2b354aae1
14 changed files with 142 additions and 99 deletions
|
|
@ -8,8 +8,11 @@ pub fn cmds() -> impl IntoIterator<Item = Command> {
|
|||
let debug = debug();
|
||||
let perms = ("permissions", ["perms", "permcheck"]);
|
||||
[
|
||||
command!(debug, perms, ("channel", ["ch"]), ChannelRef => "permcheck_channel"),
|
||||
command!(debug, perms, ("guild", ["g"]), GuildRef => "permcheck_guild"),
|
||||
command!(debug, ("proxy", ["proxying", "proxycheck"]), MessageRef => "message_proxy_check"),
|
||||
command!(debug, perms, ("channel", ["ch"]), ChannelRef => "permcheck_channel")
|
||||
.help("Checks if PluralKit has the required permissions in a channel"),
|
||||
command!(debug, perms, ("guild", ["g"]), GuildRef => "permcheck_guild")
|
||||
.help("Checks whether a server's permission setup is correct"),
|
||||
command!(debug, ("proxy", ["proxying", "proxycheck"]), MessageRef => "message_proxy_check")
|
||||
.help("Checks why a message has not been proxied"),
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue