From ea9faab1794c7dd7dd2235b1803cb341ccdf8e35 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 9 Aug 2024 10:10:20 -0400 Subject: [PATCH] Update --- rolebuttons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rolebuttons.py b/rolebuttons.py index 497cdc9..d54e454 100644 --- a/rolebuttons.py +++ b/rolebuttons.py @@ -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) + button.callback = 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) + button.callback = buttoncallback(self, button, None) self.add_item(button)