mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Allow clippy::single_match
in interaction_create
This commit is contained in:
parent
d417be378a
commit
0a21a4ccf9
1 changed files with 1 additions and 0 deletions
|
@ -360,6 +360,7 @@ impl serenity::client::EventHandler for EventHandler {
|
||||||
log::info!("{} is ready!", &ready.user.name);
|
log::info!("{} is ready!", &ready.user.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::single_match)]
|
||||||
async fn interaction_create(&self, ctx: Context, interaction: Interaction) {
|
async fn interaction_create(&self, ctx: Context, interaction: Interaction) {
|
||||||
match interaction {
|
match interaction {
|
||||||
Interaction::ApplicationCommand(command) => {
|
Interaction::ApplicationCommand(command) => {
|
||||||
|
|
Loading…
Reference in a new issue