Update
This commit is contained in:
parent
ea9faab179
commit
09de6d126c
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@ class RoleView(nextcord.ui.View):
|
|||
return
|
||||
#res = await self.bot.cur.execute(f"SELECT roleid FROM rolebutton WHERE serverid = {self.bot.roleguild.id}")
|
||||
button = nextcord.ui.Button(label="Test", style=nextcord.ButtonStyle.gray, custom_id="rolebutton:821095192831852554")
|
||||
button.callback = buttoncallback(self, button, None)
|
||||
button.callback = await buttoncallback(self, button, None)
|
||||
self.add_item(button)
|
||||
button = nextcord.ui.Button(label="Test 2", style=nextcord.ButtonStyle.gray, custom_id="rolebutton:1058708072064884736")
|
||||
button.callback = buttoncallback(self, button, None)
|
||||
button.callback = await buttoncallback(self, button, None)
|
||||
self.add_item(button)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue