-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Dynamite#8582 is started.
Ignoring exception in on_member_unban
Traceback (most recent call last):
File "F:\Users\pc\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "E:\Download\simple-modlogs-master\bot.py", line 38, in on_member_unban
await post_modlog(guild = gld, type = "UNBAN", user = found_entry.user, target = usr, reason = found_entry.reason)
File "E:\Download\simple-modlogs-master\bot.py", line 97, in post_modlog
caseid = str(int(s.embeds[0].author.name.split(" | Case ")[1]) + 1)
AttributeError: '_EmptyEmbed' object has no attribute 'split'
Ignoring exception in on_member_ban
Traceback (most recent call last):
File "F:\Users\pc\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "E:\Download\simple-modlogs-master\bot.py", line 25, in on_member_ban
await post_modlog(guild = gld, type = "BAN", user = found_entry.user, target = usr, reason = found_entry.reason)
File "E:\Download\simple-modlogs-master\bot.py", line 97, in post_modlog
caseid = str(int(s.embeds[0].author.name.split(" | Case ")[1]) + 1)
AttributeError: '_EmptyEmbed' object has no attribute 'split'