Move all commands to their own files
This commit is contained in:
1 parent
eb92eacb90
commit
4823754955
51 files changed
+1757
-1699
No files matched your search
@@ -1,13 +0,0 @@
|
||||
use crate::{Context, Error};
|
||||
|
||||
/// Record and replay command sequences
|
||||
#[poise::command(
|
||||
slash_command,
|
||||
rename = "macro",
|
||||
guild_only = true,
|
||||
default_member_permissions = "MANAGE_GUILD",
|
||||
identifying_name = "macro_base"
|
||||
)]
|
||||
pub async fn macro_base(_ctx: Context<'_>) -> Result<(), Error> {
|
||||
Ok(())
|
||||
}
|
||||
@@ -1,6 +1,18 @@
|
||||
pub mod delete_macro;
|
||||
pub mod finish_macro;
|
||||
pub mod list_macro;
|
||||
pub mod macro_base;
|
||||
pub mod record_macro;
|
||||
pub mod run_macro;
|
||||
use crate::{Context, Error};
|
||||
|
||||
/// Record and replay command sequences
|
||||
#[poise::command(
|
||||
slash_command,
|
||||
rename = "macro",
|
||||
guild_only = true,
|
||||
default_member_permissions = "MANAGE_GUILD",
|
||||
identifying_name = "macro_base"
|
||||
)]
|
||||
pub async fn command_macro(_ctx: Context<'_>) -> Result<(), Error> {
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user