Move all commands to their own files

This commit is contained in:
jude committed 2024-02-17 18:55:16 +00:00
1 parent eb92eacb90
commit 4823754955
51 files changed
+1757 -1699

No files matched your search

+13 -1
View File
@@ -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(())
}
-12
View File
@@ -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(())
}