Skip to content

Commit fb2e904

Browse files
committed
check for g.name==None #3088
1 parent f429c22 commit fb2e904

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
2424
- `?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))
2525
- 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))
2626
- Stickers were not working in Modmail.
27+
- Large server sizes results in Guild.name == None. ([GH #3088](https://github.com/kyb3r/modmail/issues/3088))
2728

2829
### Internal
2930

bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ async def on_ready(self):
618618
logger.warning(
619619
"The bot is in more servers other than the main and staff server. "
620620
"This may cause data compromise (%s).",
621-
", ".join(guild.name for guild in other_guilds),
621+
", ".join(str(guild.name) for guild in other_guilds),
622622
)
623623
logger.warning("If the external servers are valid, you may ignore this message.")
624624

0 commit comments

Comments
 (0)