fix: allow lints

This commit is contained in:
oSumAtrIX 2022-08-20 16:14:23 +02:00
parent 0eb9356c5d
commit c0bcc0a12b
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@ pub async fn unmute(
.await
}
#[allow(clippy::too_many_arguments)]
#[poise::command(slash_command)]
pub async fn mute(
ctx: Context<'_>,

View File

@ -79,6 +79,7 @@ impl Database {
Ok(result)
}
#[allow(dead_code)]
pub async fn insert<T: Serialize>(
&self,
collection: &str,
@ -90,6 +91,7 @@ impl Database {
Ok(result)
}
#[allow(dead_code)]
pub async fn delete(
&self,
collection: &str,