mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 10:53:10 +00:00
Fallback to empty string for unavailable guild __str__
This commit is contained in:
@ -205,7 +205,7 @@ class Guild(Hashable):
|
||||
self._members.pop(member.id, None)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
return self.name or ''
|
||||
|
||||
def __repr__(self):
|
||||
attrs = (
|
||||
|
Reference in New Issue
Block a user