From c9fac8fffffb24f54d6bb388ee3c743e616641ab Mon Sep 17 00:00:00 2001 From: Ven Date: Wed, 23 Nov 2022 20:04:25 +0100 Subject: [PATCH] fix tags --- src/plugins/messageTags.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/messageTags.ts b/src/plugins/messageTags.ts index c5de93a8..bf01cad2 100644 --- a/src/plugins/messageTags.ts +++ b/src/plugins/messageTags.ts @@ -22,7 +22,6 @@ import { Settings } from "../api/settings"; import { Devs } from "../utils/constants"; import definePlugin, { OptionType } from "../utils/types"; -const settings = Settings.plugins.MessageTags; const EMOTE = "<:luna:1035316192220553236>"; const DATA_KEY = "MessageTags_TAGS"; const MessageTagsMarker = Symbol("MessageTags"); @@ -66,7 +65,7 @@ function createTagCommand(tag: Tag) { return { content: `/${tag.name}` }; } - if (settings.clyde) sendBotMessage(ctx.channel.id, { + if (Settings.plugins.MessageTags.clyde) sendBotMessage(ctx.channel.id, { author, content: `${EMOTE} The tag **${tag.name}** has been sent!` });