This commit is contained in:
insert 2024-08-09 09:33:01 -04:00
parent 3086403662
commit 3a80be2637
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -21,7 +21,7 @@ class RoleView(nextcord.ui.View):
await interaction.response.send_message(f"user requested role {button.custom_id}", ephemeral=True) await interaction.response.send_message(f"user requested role {button.custom_id}", ephemeral=True)
return return
class speechbubble(commands.Cog): class rolebutton(commands.Cog):
def __init__(self, bot: commands.Bot): def __init__(self, bot: commands.Bot):
self.bot = bot self.bot = bot
@ -36,4 +36,4 @@ class speechbubble(commands.Cog):
await interaction.response.send_modal(view=RoleView(self.bot)) await interaction.response.send_modal(view=RoleView(self.bot))
def setup(bot: commands.Bot): def setup(bot: commands.Bot):
bot.add_cog(rolebuttons(bot)) bot.add_cog(rolebutton(bot))