forked from sass/tipibot
Remove custom_id from shop, which causes bug of tiers not working
This commit is contained in:
@@ -813,7 +813,6 @@ def register_economy_extra_commands(
|
|||||||
btn = discord.ui.Button(
|
btn = discord.ui.Button(
|
||||||
label=label,
|
label=label,
|
||||||
style=discord.ButtonStyle.primary if t == self._tier else discord.ButtonStyle.secondary,
|
style=discord.ButtonStyle.primary if t == self._tier else discord.ButtonStyle.secondary,
|
||||||
custom_id=f"shop_tier_{t}",
|
|
||||||
)
|
)
|
||||||
btn.callback = self._make_callback(t)
|
btn.callback = self._make_callback(t)
|
||||||
self.add_item(btn)
|
self.add_item(btn)
|
||||||
|
|||||||
Reference in New Issue
Block a user