Remove traceback suppression from buttonized menu() (#6310)

This commit is contained in:
Jakub Kuczys 2024-03-17 23:53:06 +01:00 committed by GitHub
parent a30f9ff7e6
commit 293d8065ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,10 +49,7 @@ class _GenericButton(discord.ui.Button):
if self.emoji.is_unicode_emoji()
else (ctx.bot.get_emoji(self.emoji.id) or self.emoji)
)
try:
await self.func(ctx, pages, controls, message, page, timeout, emoji)
except Exception:
pass
async def menu(