From 0e87bbd3940d89defcb04926587b35c8f4d1947f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:32:18 -0400 Subject: remove util classes, move config out of src --- src/commands/utilities/suicide.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/commands/utilities/suicide.ts') diff --git a/src/commands/utilities/suicide.ts b/src/commands/utilities/suicide.ts index c4151e8..d2510cc 100644 --- a/src/commands/utilities/suicide.ts +++ b/src/commands/utilities/suicide.ts @@ -1,4 +1,4 @@ -import { AllowedMentions, BushCommand, type CommandMessage, type SlashMessage } from '#lib'; +import { AllowedMentions, BushCommand, clientSendAndPermCheck, colors, type CommandMessage, type SlashMessage } from '#lib'; import { stripIndent } from '#tags'; import { EmbedBuilder } from 'discord.js'; @@ -11,7 +11,7 @@ export default class SuicideCommand extends BushCommand { usage: ['suicide'], examples: ['suicide'], slash: true, - clientPermissions: (m) => util.clientSendAndPermCheck(m), + clientPermissions: (m) => clientSendAndPermCheck(m), userPermissions: [], bypassChannelBlacklist: true }); @@ -21,7 +21,7 @@ export default class SuicideCommand extends BushCommand { // stolen from https://github.com/dexbiobot/Zeppelin const suicideEmbed = new EmbedBuilder() .setTitle('Mental Health Resources') - .setColor(util.colors.red) + .setColor(colors.red) .setAuthor({ name: 'Remember, You Matter <3', iconURL: -- cgit