mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
fix pk;e taking in id, only take message ref
This commit is contained in:
parent
aec01d6245
commit
5daa4777f5
4 changed files with 73 additions and 44 deletions
|
|
@ -1,3 +1,5 @@
|
|||
use command_parser::parameter::MESSAGE_REF;
|
||||
|
||||
use super::*;
|
||||
|
||||
pub fn debug() -> (&'static str, [&'static str; 1]) {
|
||||
|
|
@ -12,7 +14,7 @@ pub fn cmds() -> impl IntoIterator<Item = Command> {
|
|||
.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")
|
||||
command!(debug, ("proxy", ["proxying", "proxycheck"]), MESSAGE_REF => "message_proxy_check")
|
||||
.help("Checks why a message has not been proxied"),
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue