[dfif2] confirm emoji fix
Browse files
app.py
CHANGED
@@ -307,7 +307,7 @@ async def dfif2(index: int, stage_1_result_path, thread, dfif_command_message_id
|
|
307 |
# using custom emoji that looks nicer
|
308 |
emoji_guild = thread.guild
|
309 |
confirm_emoji_id = 1098629085955113011
|
310 |
-
confirm_emoji = discord.utils.get(
|
311 |
|
312 |
# assuming dfif2 is always inside a thread, we can always exit the thread to find the channel with the original command,
|
313 |
# which allows us to react confirm on that message.
|
|
|
307 |
# using custom emoji that looks nicer
|
308 |
emoji_guild = thread.guild
|
309 |
confirm_emoji_id = 1098629085955113011
|
310 |
+
confirm_emoji = discord.utils.get(emoji_guild.emojis, id=confirm_emoji_id)
|
311 |
|
312 |
# assuming dfif2 is always inside a thread, we can always exit the thread to find the channel with the original command,
|
313 |
# which allows us to react confirm on that message.
|