Skip to content

Commit

Permalink
check for g.name==None #3088
Browse files Browse the repository at this point in the history
  • Loading branch information
fourjr committed Nov 21, 2021
1 parent f429c22 commit fb2e904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
- `?contact` would create in a random category in silent mode. ([GH #3091](https://github.com/kyb3r/modmail/issues/3091), [PR #3092](https://github.com/kyb3r/modmail/pull/3092))
- Certain cases where `?close` would fail if closer isn't in cache. ([GH #3104](https://github.com/kyb3r/modmail/issues/3104), [PR #3105](https://github.com/kyb3r/modmail/pull/3105))
- Stickers were not working in Modmail.
- Large server sizes results in Guild.name == None. ([GH #3088](https://github.com/kyb3r/modmail/issues/3088))

### Internal

Expand Down
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ async def on_ready(self):
logger.warning(
"The bot is in more servers other than the main and staff server. "
"This may cause data compromise (%s).",
", ".join(guild.name for guild in other_guilds),
", ".join(str(guild.name) for guild in other_guilds),
)
logger.warning("If the external servers are valid, you may ignore this message.")

Expand Down

0 comments on commit fb2e904

Please # to comment.