From 1dddb66a1ec5dd558551c685351c4f610999ea56 Mon Sep 17 00:00:00 2001 From: Ben Mintz Date: Thu, 5 Sep 2019 16:50:26 -0500 Subject: [PATCH] [commands] default Bot.owner_ids to a set This appears to be a typo, as everywhere else, owner_ids is set to a set. --- discord/ext/commands/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 2f07a85f1..0e83c3f7b 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -108,7 +108,7 @@ class BotBase(GroupMixin): self._help_command = None self.description = inspect.cleandoc(description) if description else '' self.owner_id = options.get('owner_id') - self.owner_ids = options.get('owner_ids', {}) + self.owner_ids = options.get('owner_ids', set()) if self.owner_id and self.owner_ids: raise TypeError('Both owner_id and owner_ids are set.')