rewrite: Integrate GUI plugin.

This commit is contained in:
2022-12-23 20:34:58 +02:00
parent ee1abcacea
commit b777bd33e4
15 changed files with 13 additions and 4880 deletions

View File

@@ -581,8 +581,10 @@ class TasklistUI(BasePager):
await self.redraw()
async def delete_selector_refresh(self):
t = self.bot.translator.t
self.delete_selector.placeholder = t(_p('ui:tasklist|menu:delete|placeholder', "Select to Delete"))
self.delete_selector.options = self.toggle_selector.options
self.delete_selector.max_values = len(self.toggle_selector.options)
@button(label="ClOSE_PLACEHOLDER", style=ButtonStyle.red)
async def close_pressed(self, interaction: discord.Interaction, pressed: Button):