lunarflu HF staff commited on
Commit
ff9e9a0
1 Parent(s): 73f4ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ async def on_message_edit(before, after):
195
  print(f"on_message_edit Error: {e}")
196
 
197
  @bot.event
198
- async def on_raw_message_delete(message):
199
  try:
200
  message_id = payload.message_id
201
  channel_id = payload.channel_id
 
195
  print(f"on_message_edit Error: {e}")
196
 
197
  @bot.event
198
+ async def on_raw_message_delete(payload):
199
  try:
200
  message_id = payload.message_id
201
  channel_id = payload.channel_id