1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00

Testing how pass_context works with subcommands

This commit is contained in:
phxntxm 2016-07-12 09:19:43 -05:00
parent d8ca2de783
commit b35aed381b

View file

@ -49,7 +49,7 @@ class Twitch:
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
@commands.group(pass_context=True, no_pm=True, invoke_without_command=True) @commands.group(no_pm=True, invoke_without_command=True)
async def twitch(self, *, member: discord.Member=None): async def twitch(self, *, member: discord.Member=None):
"""Use this command to check the twitch info of a user""" """Use this command to check the twitch info of a user"""
if member is not None: if member is not None: