From 8657edfc996e7b3732425a7ce48bab3e00543d36 Mon Sep 17 00:00:00 2001
From: Rapptz <rapptz@gmail.com>
Date: Thu, 25 Mar 2021 09:11:00 -0400
Subject: [PATCH] Fallback to empty string for unavailable guild __str__

---
 discord/guild.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/discord/guild.py b/discord/guild.py
index 9610cdeab..0df3600d5 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -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 = (