update
This commit is contained in:
parent
3086403662
commit
3a80be2637
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
Loading…
Reference in a new issue