FunkyBot/libs/Guilds.py

12 lines
319 B
Python
Raw Normal View History

class Guilds:
def __init__(self):
pass
async def get_guild(self, bot):
guild = None
for g in bot.guilds:
if bot.dev_mode and g.name == 'OgmaBotDev':
guild = g
elif g.name == 'The Penguin Collective':
guild = g
return guild