|
|
@ -529,6 +529,9 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
|
|
|
|
@discord.Cog.listener()
|
|
|
|
@discord.Cog.listener()
|
|
|
|
async def on_message_edit(self, before, after):
|
|
|
|
async def on_message_edit(self, before, after):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if after.author.id == self.bot.user.id:
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
# Moderation
|
|
|
|
# Moderation
|
|
|
|
if not isinstance(after.channel, discord.DMChannel):
|
|
|
|
if not isinstance(after.channel, discord.DMChannel):
|
|
|
|
if (
|
|
|
|
if (
|
|
|
@ -543,6 +546,7 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
|
|
|
|
Moderation(after, timestamp)
|
|
|
|
Moderation(after, timestamp)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if after.author.id in self.redo_users:
|
|
|
|
if after.author.id in self.redo_users:
|
|
|
|
if after.id == original_message[after.author.id]:
|
|
|
|
if after.id == original_message[after.author.id]:
|
|
|
|
response_message = self.redo_users[after.author.id].response
|
|
|
|
response_message = self.redo_users[after.author.id].response
|
|
|
|