aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/welcomeChannel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/welcomeChannel.ts')
-rw-r--r--src/commands/config/welcomeChannel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/config/welcomeChannel.ts b/src/commands/config/welcomeChannel.ts
index 3db9e74..a662802 100644
--- a/src/commands/config/welcomeChannel.ts
+++ b/src/commands/config/welcomeChannel.ts
@@ -36,7 +36,7 @@ export default class WelcomeChannelCommand extends BushCommand {
userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD']
});
}
- public async exec(message: BushMessage | BushSlashMessage, args: { channel: Channel }): Promise<unknown> {
+ public override async exec(message: BushMessage | BushSlashMessage, args: { channel: Channel }): Promise<unknown> {
const oldChannel = await message.guild.getSetting('welcomeChannel');
await message.guild.setSetting('welcomeChannel', args.channel.id ?? undefined);
if (args.channel) {