2025-10-03 02:21:12 +00:00
|
|
|
use super::*;
|
2025-01-04 07:35:04 +09:00
|
|
|
|
2025-10-03 02:21:12 +00:00
|
|
|
pub fn debug() -> (&'static str, [&'static str; 1]) {
|
|
|
|
|
("debug", ["dbg"])
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-17 10:25:22 +03:00
|
|
|
pub fn cmds() -> impl IntoIterator<Item = Command> {
|
2025-10-03 02:21:12 +00:00
|
|
|
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"),
|
|
|
|
|
]
|
|
|
|
|
}
|