1
0
Fork 0
mirror of synced 2024-05-19 12:02:29 +12:00

Passed the context to the ow command

This commit is contained in:
phxntxm 2016-07-13 22:16:47 -05:00
parent aaa1b8e6ae
commit 312b2a1b5a

View file

@ -15,7 +15,7 @@ class Overwatch:
def __init__(self, bot):
self.bot = bot
@commands.group(no_pm=True, invote_without_command=True)
@commands.group(pass_context=True, no_pm=True, invote_without_command=True)
async def ow(self, ctx, user: discord.Member=None):
if user is None:
user = ctx.message.author