Modify Guild lib. Remove async from get_guild method
This commit is contained in:
parent
1ce6b538ae
commit
e018090af6
|
|
@ -5,7 +5,7 @@ class Guilds:
|
|||
def __init__(self):
|
||||
pass
|
||||
|
||||
async def get_guild(self, bot: commands.Bot) -> discord.Guild:
|
||||
def get_guild(self, bot: commands.Bot) -> discord.Guild:
|
||||
guild = None
|
||||
for g in bot.guilds:
|
||||
if bot.dev_mode and g.name == 'OgmaBotDev':
|
||||
|
|
|
|||
Loading…
Reference in a new issue