Compare commits
2 Commits
564af6d548
...
5f1ab9002c
Author | SHA1 | Date |
---|---|---|
Anorak_1 | 5f1ab9002c | |
Anorak_1 | bf3575ab2e |
4
bot.py
4
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: "))
|
||||
|
@ -119,7 +119,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"Declined {user_id}, guild {guild_id}", ephemeral=True)
|
||||
|
||||
modal = ApplicationModal(title=f"Declining: {bot.get_user(user_id).display_name}")
|
||||
modal.set_action("dec")
|
||||
modal.add_item(discord.ui.InputText(label=f"Reason: "))
|
||||
|
|
Loading…
Reference in New Issue