From 031aa141504b541189968e30df8e56337a2c62bc Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Tue, 28 Nov 2023 15:37:10 -0800 Subject: [PATCH] push --- app/bot.py | 0 app/cogs/server_utils.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 app/bot.py diff --git a/app/bot.py b/app/bot.py old mode 100755 new mode 100644 diff --git a/app/cogs/server_utils.py b/app/cogs/server_utils.py index c654556b..49a14c58 100644 --- a/app/cogs/server_utils.py +++ b/app/cogs/server_utils.py @@ -16,7 +16,7 @@ class ServerUtils(commands.Cog): description="Have the bot DM you an invite link (with the option to make it temporary)", ) @option( - name="temp", + name="temporary_invite", description="Whether or not to make it a temporary invite", type=bool, default=False, @@ -32,13 +32,13 @@ class ServerUtils(commands.Cog): except AttributeError: pass - if temp: + if temporary_invite: await ctx.author.send("Here is your temporary invite") invite = await invite_channel.create_invite( max_uses=1, max_age=3600, - temporary=temp, + temporary=temporary_invite, ) await ctx.respond("Check your DMs") await ctx.author.send(invite)