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 20dc94de..9280136d 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -792,7 +792,7 @@ class BotBase(GroupMixin):
except TypeError:
# It's possible that a generator raised this exception. Don't
# replace it with our own error if that's the case.
- if isinstance(ret, collections.Iterable):
+ if isinstance(ret, collections.abc.Iterable):
raise
raise TypeError("command_prefix must be plain string, iterable of strings, or callable "