1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Allow clippy::single_match in interaction_create

This commit is contained in:
Steffo 2023-03-24 01:05:11 +01:00
parent d417be378a
commit 0a21a4ccf9
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -360,6 +360,7 @@ impl serenity::client::EventHandler for EventHandler {
log::info!("{} is ready!", &ready.user.name);
}
#[allow(clippy::single_match)]
async fn interaction_create(&self, ctx: Context, interaction: Interaction) {
match interaction {
Interaction::ApplicationCommand(command) => {