Browse Source

[commands] Fix issue where Bot would raise if not given a description.

pull/95/head
Rapptz 9 years ago
parent
commit
18c71ab57c
  1. 2
      discord/ext/commands/bot.py

2
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):

Loading…
Cancel
Save