Update CustomQuoter.plugin.js
This commit is contained in:
parent
e4c964d6df
commit
a9654b1082
|
@ -177,7 +177,6 @@ var CustomQuoter = (_ => {
|
||||||
|
|
||||||
let guild = BDFDB.LibraryModules.GuildStore.getGuild(channel.guild_id) || {id: "@me", name: BDFDB.LanguageUtils.LanguageStrings.DIRECT_MESSAGES};
|
let guild = BDFDB.LibraryModules.GuildStore.getGuild(channel.guild_id) || {id: "@me", name: BDFDB.LanguageUtils.LanguageStrings.DIRECT_MESSAGES};
|
||||||
|
|
||||||
console.log(message);
|
|
||||||
return customQuote
|
return customQuote
|
||||||
.replace("$quote", unquotedLines.split("\n").map(line => "> " + line + "\n").join(""))
|
.replace("$quote", unquotedLines.split("\n").map(line => "> " + line + "\n").join(""))
|
||||||
.replace("$mention", settings.ignoreMentionInDM && channel.isDM() ? "" : `<@!${message.author.id}>`)
|
.replace("$mention", settings.ignoreMentionInDM && channel.isDM() ? "" : `<@!${message.author.id}>`)
|
||||||
|
|
Loading…
Reference in New Issue