From 1b6d56162bae1d9119f0641df1092ab6a92df620 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 7 Sep 2021 09:47:14 -0400 Subject: fix config being owner only, fix direct message id footer and fix leveing listner not saving new entries --- src/commands/config/config.ts | 3 +-- src/commands/config/features.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands') diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts index dc31b5b..ac3198b 100644 --- a/src/commands/config/config.ts +++ b/src/commands/config/config.ts @@ -106,8 +106,7 @@ export default class SettingsCommand extends BushCommand { }), channel: 'guild', clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'], - ownerOnly: true + userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'] }); } diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts index 2169177..8010ab9 100644 --- a/src/commands/config/features.ts +++ b/src/commands/config/features.ts @@ -17,6 +17,7 @@ export default class FeaturesCommand extends BushCommand { userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD'] }); } + public override async exec(message: BushMessage | BushSlashMessage): Promise { if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be used in servers.`); -- cgit