diff --git a/redbot/cogs/mutes/mutes.py b/redbot/cogs/mutes/mutes.py index ce3b3731ce4..7397b552236 100644 --- a/redbot/cogs/mutes/mutes.py +++ b/redbot/cogs/mutes/mutes.py @@ -22,6 +22,7 @@ ) from redbot.core.utils.mod import get_audit_reason from redbot.core.utils.menus import start_adding_reactions +from redbot.core.utils.views import SimpleMenu from redbot.core.utils.predicates import MessagePredicate, ReactionPredicate T_ = i18n.Translator("Mutes", __file__) @@ -1169,8 +1170,13 @@ async def activemutes(self, ctx: commands.Context): else: msg += "\n" if msg: + msgs = [] for page in pagify(msg): - await ctx.maybe_send_embed(page) + if await ctx.embed_requested(): + msgs.append(discord.Embed(description=page, colour=await ctx.embed_colour())) + else: + msgs.append(page) + await SimpleMenu(msgs).start(ctx) return await ctx.maybe_send_embed(_("There are no mutes on this server right now."))