This commit is contained in:
insert 2024-08-09 09:12:58 -04:00
parent 39244363d1
commit 7dd51f56ba
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -12,7 +12,7 @@ class RoleView(nextcord.ui.View):
super().__init__(timeout=None)
self.bot = bot
#res = await self.bot.cur.execute(f"SELECT roleid FROM rolebutton WHERE serverid = {guild.id}")
#res = await self.bot.cur.execute(f"SELECT roleid FROM rolebutton WHERE serverid = {self.bot.roleguild.id}")
self.add_item(nextcord.ui.Button(label="Test", style=nextcord.ButtonStyle.gray, custom_id="rolebutton:821095192831852554"))
self.add_item(nextcord.ui.Button(label="Test 2", style=nextcord.ButtonStyle.gray, custom_id="rolebutton:1058708072064884736"))