Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber235 committed Feb 5, 2024
1 parent 14ffbe9 commit b8fbad9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions discord_bot/src/commands/close_ticket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use std::fmt::{self, Display, Formatter};
use indoc::formatdoc;
use poise::{
serenity_prelude::{
ButtonStyle, CreateButton, CreateEmbed, CreateEmbedFooter, CreateMessage, EditChannel,
EditThread, ReactionType, Timestamp,
ButtonStyle, CreateButton, CreateEmbed, CreateEmbedFooter, CreateMessage, EditThread,
ReactionType, Timestamp,
},
CreateReply, ReplyHandle,
};
Expand Down
2 changes: 1 addition & 1 deletion discord_bot/src/commands/create_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub async fn create_task(
)
.await;

if (let Err(e) = result) {
if let Err(e) = result {
handle
.edit(
ctx,
Expand Down
2 changes: 0 additions & 2 deletions discord_bot/src/commands/ticket_reopen.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::env;

use async_trait::async_trait;
use indoc::formatdoc;
use poise::serenity_prelude::{
Expand Down

0 comments on commit b8fbad9

Please sign in to comment.