aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-11-23 20:04:25 +0100
committerGitHub <noreply@github.com>2022-11-23 20:04:25 +0100
commitc9fac8fffffb24f54d6bb388ee3c743e616641ab (patch)
tree5b38958429b27d9ec0ad27647c8e8caa2d6d1fe1 /src
parentf93607fc668038d4afbe47238f86922c6bb2ac6a (diff)
downloadVencord-c9fac8fffffb24f54d6bb388ee3c743e616641ab.tar.gz
Vencord-c9fac8fffffb24f54d6bb388ee3c743e616641ab.tar.bz2
Vencord-c9fac8fffffb24f54d6bb388ee3c743e616641ab.zip
fix tags
Diffstat (limited to 'src')
-rw-r--r--src/plugins/messageTags.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/messageTags.ts b/src/plugins/messageTags.ts
index c5de93a..bf01cad 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!`
});