Merge branch 'master' of github.com:Dragory/ZeppelinBot

This commit is contained in:
Dragory 2019-01-12 12:54:17 +02:00
commit 48245e3f38

View file

@ -354,7 +354,7 @@ export class SpamPlugin extends Plugin {
const maxEmoji = this.configValueForMemberIdAndChannelId( const maxEmoji = this.configValueForMemberIdAndChannelId(
savedMessage.user_id, savedMessage.user_id,
savedMessage.channel_id, savedMessage.channel_id,
"max_emoji" "max_emojis"
); );
if (maxEmoji && savedMessage.data.content) { if (maxEmoji && savedMessage.data.content) {
const emojiCount = getEmojiInString(savedMessage.data.content).length; const emojiCount = getEmojiInString(savedMessage.data.content).length;