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,4 +1,16 @@
|
||||
pub mod delete_timer;
|
||||
pub mod list_timer;
|
||||
pub mod start_timer;
|
||||
pub mod timer_base;
|
||||
|
||||
use crate::{Context, Error};
|
||||
|
||||
/// Manage timers
|
||||
#[poise::command(
|
||||
slash_command,
|
||||
rename = "timer",
|
||||
identifying_name = "timer_base",
|
||||
default_member_permissions = "MANAGE_GUILD"
|
||||
)]
|
||||
pub async fn timer(_ctx: Context<'_>) -> Result<(), Error> {
|
||||
Ok(())
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
use crate::{Context, Error};
|
||||
|
||||
/// Manage timers
|
||||
#[poise::command(
|
||||
slash_command,
|
||||
rename = "timer",
|
||||
identifying_name = "timer_base",
|
||||
default_member_permissions = "MANAGE_GUILD"
|
||||
)]
|
||||
pub async fn timer_base(_ctx: Context<'_>) -> Result<(), Error> {
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user