This commit is contained in:
insert 2024-08-10 15:17:17 -04:00
parent f5ce98ed6d
commit 65434e7b69
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -36,7 +36,10 @@ class rolebutton(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
bot.add_view(RoleView(bot))
@commands.Cog.listener('on_ready')
async def roleready(self):
self.bot.add_view(RoleView(self.bot))
@nextcord.slash_command(
name="rolebuttons",