From acb4c41cb72662fbc998576b8f0989a2fa099e38 Mon Sep 17 00:00:00 2001 From: Tomato6966 Date: Fri, 28 Jan 2022 18:07:18 +0100 Subject: [PATCH] pagination and roles display bug fix --- "commands/\360\237\224\260 Info/serverinfo.js" | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git "a/commands/\360\237\224\260 Info/serverinfo.js" "b/commands/\360\237\224\260 Info/serverinfo.js" index 392f5151..30dc3fc0 100644 --- "a/commands/\360\237\224\260 Info/serverinfo.js" +++ "b/commands/\360\237\224\260 Info/serverinfo.js" @@ -12,9 +12,9 @@ module.exports = { description: "Shows info about a server", usage: "serverinfo", type: "server", - run: async (client, message, args, cmduser, text, prefix, player, es, ls) => { - - + run: async (client, message, args, cmduser, text, prefix, player) => { + let es = client.settings.get(message.guild.id, "embed"); + let ls = client.settings.get(message.guild.id, "language"); try { function trimArray(arr, maxLen = 40) { if ([...arr.values()].length > maxLen) {