Fix default guilds for commands not being respected

Pesky little typo

Fix #7641
This commit is contained in:
Rapptz 2022-03-11 08:33:37 -05:00
parent 740c156cd8
commit 140a827190

View File

@ -64,7 +64,7 @@ def _retrieve_guild_ids(
if guild is MISSING:
# If no arguments are given then it should default to the ones
# given to the guilds(...) decorator or None for global.
if guild is MISSING:
if guilds is MISSING:
return getattr(command, '_guild_ids', None)
# guilds=[] is the same as global