From 5f1ab9002cf3737ab19cc62a05028ad14e474502 Mon Sep 17 00:00:00 2001 From: Anorak_1 Date: Tue, 1 Aug 2023 23:54:41 +0200 Subject: [PATCH] removed some more old commented lines --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 4b3023d..e060b14 100644 --- a/bot.py +++ b/bot.py @@ -99,7 +99,7 @@ class ApplicationButtonsView(discord.ui.View): cur = con.cursor() cur.execute(f"SELECT user_id, guild_id FROM app_msg_db WHERE msg_id={msg_id}") user_id, guild_id = cur.fetchone() - #await interaction.response.send_message(f"Accepted {user_id}, guild {guild_id}", ephemeral=True) + modal = ApplicationModal(title=f"Accepting: {bot.get_user(user_id).display_name}") modal.set_action("acc") modal.add_item(discord.ui.InputText(label=f"Reason: "))