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