File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ async def backup_channel(channel, last_message_id):
288288 try :
289289 if last_message_id > 0 :
290290 after = await channel .fetch_message (last_message_id )
291- except discord . errors .NotFound :
291+ except nextcord .NotFound :
292292 print ('\t Latch-on restore point vanished on discord. Doing a full grab of the channel.' )
293293 pass
294294
@@ -322,7 +322,7 @@ async def backup_channel(channel, last_message_id):
322322 write_to_storage (backup_msg )
323323
324324 after = messages [- 1 ]
325- except discord . errors .NotFound :
325+ except nextcord .NotFound :
326326 print ('\t Unable to find message to latch on.' )
327327 except nextcord .Forbidden :
328328 print ('\t No permission to read channel. Check roles in discord!' )
You can’t perform that action at this time.
0 commit comments