1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Passed context to twitch as it's now needed

This commit is contained in:
Phxntxm 2016-07-17 10:48:42 -05:00
parent 904488c589
commit 9b134a9b43

View file

@ -47,9 +47,9 @@ class Twitch:
config.closeConnection()
await asyncio.sleep(30)
@commands.group(no_pm=True, invoke_without_command=True)
@commands.group(no_pm=True, invoke_without_command=True,pass_context=True)
@checks.customPermsOrRole("none")
async def twitch(self, *, member: discord.Member=None):
async def twitch(self, ctx, *, member: discord.Member=None):
"""Use this command to check the twitch info of a user"""
if member is not None:
twitch = config.getContent('twitch')