simple-modlogs icon indicating copy to clipboard operation
simple-modlogs copied to clipboard

ModLog embed fetched empty

Open Ag-oss opened this issue 3 years ago • 0 comments

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'

Ag-oss avatar Jul 13 '21 10:07 Ag-oss