diff --git a/utils/pagination/pagination.js b/utils/pagination/pagination.js index 9cbad1e..725de45 100644 --- a/utils/pagination/pagination.js +++ b/utils/pagination/pagination.js @@ -3,7 +3,7 @@ const MessageCollector = require("./awaitmessages.js"); const client = require("../client.js"); module.exports = async (message, pages, timeout = 120000) => { - const manageMessages = message.channel.guild && (message.channel.guild.members.get(client.user.id).permissions.has("manageMessages") || message.channel.permissionsOf(client.user.id).has("manageMessages")) ? true : false; + const manageMessages = message.channel.guild && message.channel.permissionsOf(client.user.id).has("manageMessages") ? true : false; let page = 0; let currentPage = await message.channel.createMessage(pages[page]); const emojiList = ["◀", "🔢", "▶", "🗑"];