Update
This commit is contained in:
parent
f5ce98ed6d
commit
65434e7b69
1 changed files with 4 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue