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