mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 23:07:54 +00:00
16 lines
527 B
Rust
16 lines
527 B
Rust
use super::*;
|
|
|
|
pub fn debug() -> (&'static str, [&'static str; 1]) {
|
|
("debug", ["dbg"])
|
|
}
|
|
|
|
pub fn cmds() -> impl Iterator<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"),
|
|
]
|
|
.into_iter()
|
|
}
|