Explorar o código

remove the feature, a message is send every time you delete a message

baumsplitter41 hai 2 meses
pai
achega
d41cb24ef1
Modificáronse 1 ficheiros con 0 adicións e 18 borrados
  1. 0 18
      TEST_BOT_BAUM/main.py

+ 0 - 18
TEST_BOT_BAUM/main.py

@@ -52,24 +52,6 @@ async def on_guild_join(guild):
 #DONT Touch anything above this line, unless you know what you are doing!#
 #---------------------------------------------------------------------------------------#
 
-#---------------------------------#
-## Deleted Message
-"""
-@bot.event
-async def on_message_delete(
-    ctx = discord.Message,
-):
-    if ctx.author != bot.user:
-        await ctx.send(f"Eine Nachricht von {ctx.author} wurde gelöscht: {ctx.content}", ephemeral=False)
-"""
-#---------------------------------#
-
-#---------------------------------#
-@bot.event
-async def on_message_delete(msg):
-    if msg.author != bot.user:  
-        await msg.channel.send(f"A Message from {msg.author} has been deleted: {msg.content}")
-#---------------------------------#
 
 #---------------------------------#
 ## Greet