We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df41d31 commit fd6dfb7Copy full SHA for fd6dfb7
bot.py
@@ -1188,6 +1188,14 @@ async def handle_reaction_events(self, payload):
1188
# the reacted message is the corresponding thread creation embed
1189
# closing thread
1190
return await thread.close(closer=user)
1191
+ if (
1192
+ message.author == self.user
1193
+ and message.embeds
1194
+ and self.config.get("confirm_thread_creation")
1195
+ and message.embeds[0].title == self.config["confirm_thread_creation_title"]
1196
+ and message.embeds[0].description == self.config["confirm_thread_response"]
1197
+ ):
1198
+ return
1199
if not thread.recipient.dm_channel:
1200
await thread.recipient.create_dm()
1201
try:
0 commit comments