From 9d5f7bbb45424cc858e4de5f0a83d29fc0c12de2 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 13 Apr 2020 13:08:45 -0400 Subject: [PATCH] Fix filter level and verification level in server --- commands/info/server.js | 14 ++++++++++++-- package.json | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/commands/info/server.js b/commands/info/server.js index 8fa8701d..e129f31b 100644 --- a/commands/info/server.js +++ b/commands/info/server.js @@ -2,8 +2,18 @@ const Command = require('../../structures/Command'); const moment = require('moment'); const { MessageEmbed } = require('discord.js'); const { stripIndents } = require('common-tags'); -const filterLevels = ['Off', 'No Role', 'Everyone']; -const verificationLevels = ['None', 'Low', 'Medium', '(╯°□°)╯︵ ┻━┻', '┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻']; +const filterLevels = { + DISABLED: 'Off', + MEMBERS_WITHOUT_ROLES: 'No Role', + ALL_MEMBERS: 'Everyone' +}; +const verificationLevels = { + NONE: 'None', + LOW: 'Low', + MEDIUM: 'Medium', + HIGH: '(╯°□°)╯︵ ┻━┻', + VERY_HIGH: '┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻' +}; module.exports = class ServerCommand extends Command { constructor(client) { diff --git a/package.json b/package.json index 7d2fa98d..b3e2d37e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "113.0.1", + "version": "113.0.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {