From 99ff37c1a2e838b77b4989373bf972b6d3505576 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Wed, 17 Mar 2021 11:38:39 -0700 Subject: [PATCH] DM the user their invites instead of shitting up the general channel --- app/bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/bot.py b/app/bot.py index 535fb132..69fa0f17 100755 --- a/app/bot.py +++ b/app/bot.py @@ -74,7 +74,7 @@ async def invite(ctx): temp = False if 'temp' in ctx.message.content: temp = True - await ctx.send('Here is your temporary invite') + await ctx.author.send('Here is your temporary invite') invite = await invite_channel.create_invite( destination=invite_channel, @@ -82,7 +82,8 @@ async def invite(ctx): max_age=3600, temporary=temp, ) - await ctx.send(invite) + await ctx.send("Check your DMs") + await ctx.author.send(invite) @bot.command(name='help') async def help(ctx):