aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index df4b93db..4bcf6a43 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -139,7 +139,7 @@ class Bot(GroupMixin, discord.Client):
self.extra_events = {}
self.cogs = {}
self.extensions = {}
- self.description = inspect.cleandoc(description)
+ self.description = inspect.cleandoc(description) if description else ''
self.pm_help = pm_help
if formatter is not None:
if not isinstance(formatter, HelpFormatter):