diff --git a/src/commands/moderation.rs b/src/commands/moderation.rs index 39d0daa..e9227e7 100644 --- a/src/commands/moderation.rs +++ b/src/commands/moderation.rs @@ -42,6 +42,7 @@ pub async fn unmute( .await } +#[allow(clippy::too_many_arguments)] #[poise::command(slash_command)] pub async fn mute( ctx: Context<'_>, diff --git a/src/db/database.rs b/src/db/database.rs index 3f3a0d6..8a58342 100644 --- a/src/db/database.rs +++ b/src/db/database.rs @@ -79,6 +79,7 @@ impl Database { Ok(result) } + #[allow(dead_code)] pub async fn insert( &self, collection: &str, @@ -90,6 +91,7 @@ impl Database { Ok(result) } + #[allow(dead_code)] pub async fn delete( &self, collection: &str,