mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix default guilds for commands not being respected
Pesky little typo Fix #7641
This commit is contained in:
parent
740c156cd8
commit
140a827190
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user