From d4854140aba95f89f00f63eefeb27773fa386dac Mon Sep 17 00:00:00 2001 From: ElBe <90863907+ElBe-Plaq@users.noreply.github.com> Date: Fri, 16 Sep 2022 15:51:25 +0200 Subject: [PATCH] Update bot.py --- Bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bot/bot.py b/Bot/bot.py index 037f724..246d8e2 100644 --- a/Bot/bot.py +++ b/Bot/bot.py @@ -129,7 +129,7 @@ class TheGuardiansBot(discord.Client): helpEmbed.set_footer(text='Bot made by ElBe for The Guardians.') await interaction.response.send_message(embed=helpEmbed, ephemeral=True) - if command_name == ' kick': + if command_name == 'kick': options = interaction.data['options'] if interaction.user.guild_permissions.administrator: member = options[0]['value']