Add support for voice channel parties #33
@ -229,7 +229,7 @@ class Context(discord.abc.Messageable):
|
||||
"""Optional[:class:`.Guild`]: Returns the guild associated with this context's command. None if not available."""
|
||||
guild = self.message.guild
|
||||
if self.bot._shortcuts:
|
||||
for name, config in self.bot._shortcuts.keys():
|
||||
for name, config in self.bot._shortcuts.items():
|
||||
setattr(guild, name, config.get(guild.id))
|
||||
return guild
|
||||
|
||||
|
Reference in New Issue
Block a user