Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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(
|
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
|