DM the user their invites instead of shitting up the general channel
This commit is contained in:
parent
11e617cd38
commit
29fb1f659c
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user