From 893720f66b9e6141ec3f1c81a759b6632aea6cb8 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 30 Aug 2020 01:45:24 +0100 Subject: [PATCH] Updating the pagination function name --- cogs/info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/info.py b/cogs/info.py index 6991fe22..6cfe49ac 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -31,7 +31,7 @@ from discord.ext.commands import BucketType, cooldown, bot_has_permissions, guil from discord.ext.commands import command from psutil import Process, virtual_memory -from bot.libs.paginator import AllPermissions +from bot.libs.paginator import SimpleMenu # Using forzenset # Permissions to filter through @@ -277,7 +277,7 @@ class Info(Cog): # Get the permissions of the channel perms = ctx.guild.me.permissions_in(ctx.message.channel) - menu = AllPermissions(0, item, perms, [first, second], self, ctx.bot) + menu = SimpleMenu(0, item, perms, [first, second], self) await menu.start(ctx) @command(name="rolelist", aliases=["rl"])