From 73559076b6b2594a669f348c0450c45d869af843 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 9 Aug 2024 09:34:45 -0400 Subject: [PATCH] update --- rolebuttons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rolebuttons.py b/rolebuttons.py index 382d350..a10d9e1 100644 --- a/rolebuttons.py +++ b/rolebuttons.py @@ -31,9 +31,9 @@ class rolebutton(commands.Cog): name="roletest", description="check if the buttons work", ) - async def roletest(self, interaction: nextcord.Interaction, victim: nextcord.Member = nextcord.SlashOption(name="victim")): + async def roletest(self, interaction: nextcord.Interaction): self.bot.roleguild = interaction.guild - await interaction.response.send_modal(view=RoleView(self.bot)) + await interaction.response.send_message(view=RoleView(self.bot)) def setup(bot: commands.Bot): bot.add_cog(rolebutton(bot)) \ No newline at end of file