From be805f9bb22ebd624caa9a6abd64c502e6b1dabc Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 17 Oct 2017 18:02:31 -0400 Subject: [PATCH] Included custom destination in hi command --- src/main/cogs/info.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/cogs/info.py b/src/main/cogs/info.py index 737db18..920e189 100644 --- a/src/main/cogs/info.py +++ b/src/main/cogs/info.py @@ -23,7 +23,9 @@ class Info: # await ctx.send(embed=embed) @commands.command(hidden=True) - async def hi(self, ctx): + async def hi(self, ctx, *args): + dest = u.get_args(ctx, args) + hello = 'Hewwo, {}.'.format(ctx.author.mention) if ctx.author.id == checks.owner_id: hello += '.. ***Master.*** uwu' @@ -31,7 +33,7 @@ class Info: hello = '{} **Admin** {}'.format(hello[:7], hello[7:]) elif ctx.author.guild_permissions.ban_members: hello = '{} **Mod** {}'.format(hello[:7], hello[7:]) - await ctx.send(hello) + await dest.send(hello) @commands.group(name='info', aliases=['i']) async def info(self, ctx):