Skip to content

Commit

Permalink
Fix cancel restart
Browse files Browse the repository at this point in the history
Signed-off-by: anasty17 <[email protected]>
  • Loading branch information
anasty17 committed Dec 23, 2024
1 parent 03f3276 commit 24ccebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/modules/restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
async def restart_bot(_, message):
buttons = button_build.ButtonMaker()
buttons.data_button("Yes!", "botrestart confirm")
buttons.data_button("Cancel", "restart cancel")
buttons.data_button("Cancel", "botrestart cancel")
button = buttons.build_menu(2)
await send_message(message, "Are you sure you want to restart the bot ?!", button)

Expand All @@ -31,7 +31,7 @@ async def restart_bot(_, message):
async def restart_sessions(_, message):
buttons = button_build.ButtonMaker()
buttons.data_button("Yes!", "sessionrestart confirm")
buttons.data_button("Cancel", "restart cancel")
buttons.data_button("Cancel", "sessionrestart cancel")
button = buttons.build_menu(2)
await send_message(
message, "Are you sure you want to restart the session(s) ?!", button
Expand Down

0 comments on commit 24ccebe

Please sign in to comment.