🔥 refactor(makeprompt.py): remove unnecessary code that deletes the message after sending an embed

This commit is contained in:
2023-08-15 10:50:10 +02:00
parent 52ad105e06
commit f0f160429d

View File

@@ -63,7 +63,6 @@ async def chatgpt_process(
await message.channel.send( await message.channel.send(
f"{msg.author.mention}", embed=embed, delete_after=10 f"{msg.author.mention}", embed=embed, delete_after=10
) )
await message.delete()
else: # if the message is not flagged as inappropriate else: # if the message is not flagged as inappropriate
if msg.author.id == self.bot.user.id: if msg.author.id == self.bot.user.id:
role = "assistant" role = "assistant"