Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

[Baron] Massleave error about guild icon #174

Open
DJTOMATO opened this issue Jun 28, 2023 · 0 comments
Open

[Baron] Massleave error about guild icon #174

DJTOMATO opened this issue Jun 28, 2023 · 0 comments

Comments

@DJTOMATO
Copy link

 Traceback (most recent call last):
   File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 229, in wrapped
     ret = await coro(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/baron/baron.py", line 522, in baron_leave_members
     await self.leave_guilds(
   File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/baron/baron.py", line 632, in leave_guilds
     await self.baron_log("mass_leave", guilds=unwl_guilds, author=ctx.author)
   File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/baron/baron.py", line 655, in baron_log
     if guild.icon is None:
        ^^^^^^^^^^
 AttributeError: 'NoneType' object has no attribute 'icon'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant