mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Remove traceback suppression from buttonized menu() (#6310)
This commit is contained in:
parent
a30f9ff7e6
commit
293d8065ec
@ -49,10 +49,7 @@ class _GenericButton(discord.ui.Button):
|
|||||||
if self.emoji.is_unicode_emoji()
|
if self.emoji.is_unicode_emoji()
|
||||||
else (ctx.bot.get_emoji(self.emoji.id) or self.emoji)
|
else (ctx.bot.get_emoji(self.emoji.id) or self.emoji)
|
||||||
)
|
)
|
||||||
try:
|
|
||||||
await self.func(ctx, pages, controls, message, page, timeout, emoji)
|
await self.func(ctx, pages, controls, message, page, timeout, emoji)
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
async def menu(
|
async def menu(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user