mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-04-30 06:24:27 +02:00
fix: allow lints
This commit is contained in:
parent
0eb9356c5d
commit
c0bcc0a12b
@ -42,6 +42,7 @@ pub async fn unmute(
|
|||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[poise::command(slash_command)]
|
#[poise::command(slash_command)]
|
||||||
pub async fn mute(
|
pub async fn mute(
|
||||||
ctx: Context<'_>,
|
ctx: Context<'_>,
|
||||||
|
@ -79,6 +79,7 @@ impl Database {
|
|||||||
Ok(result)
|
Ok(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub async fn insert<T: Serialize>(
|
pub async fn insert<T: Serialize>(
|
||||||
&self,
|
&self,
|
||||||
collection: &str,
|
collection: &str,
|
||||||
@ -90,6 +91,7 @@ impl Database {
|
|||||||
Ok(result)
|
Ok(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub async fn delete(
|
pub async fn delete(
|
||||||
&self,
|
&self,
|
||||||
collection: &str,
|
collection: &str,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user