fix tags
This commit is contained in:
parent
f93607fc66
commit
c9fac8ffff
1 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,6 @@ import { Settings } from "../api/settings";
|
||||||
import { Devs } from "../utils/constants";
|
import { Devs } from "../utils/constants";
|
||||||
import definePlugin, { OptionType } from "../utils/types";
|
import definePlugin, { OptionType } from "../utils/types";
|
||||||
|
|
||||||
const settings = Settings.plugins.MessageTags;
|
|
||||||
const EMOTE = "<:luna:1035316192220553236>";
|
const EMOTE = "<:luna:1035316192220553236>";
|
||||||
const DATA_KEY = "MessageTags_TAGS";
|
const DATA_KEY = "MessageTags_TAGS";
|
||||||
const MessageTagsMarker = Symbol("MessageTags");
|
const MessageTagsMarker = Symbol("MessageTags");
|
||||||
|
@ -66,7 +65,7 @@ function createTagCommand(tag: Tag) {
|
||||||
return { content: `/${tag.name}` };
|
return { content: `/${tag.name}` };
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.clyde) sendBotMessage(ctx.channel.id, {
|
if (Settings.plugins.MessageTags.clyde) sendBotMessage(ctx.channel.id, {
|
||||||
author,
|
author,
|
||||||
content: `${EMOTE} The tag **${tag.name}** has been sent!`
|
content: `${EMOTE} The tag **${tag.name}** has been sent!`
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue