feat/40-reroll-on-disinterest #54

Merged
kenobi merged 73 commits from feat/40-reroll-on-disinterest into master 2023-11-19 20:24:36 +01:00
1 changed files with 7 additions and 2 deletions
Showing only changes of commit ca0a9e3cb8 - Show all commits

View File

@ -1,6 +1,11 @@
import { Message } from "discord.js";
export function messageIsVoteMessage(msg: Message): boolean {
return msg.content.includes('[Abstimmung]')
return msg.cleanContent.includes('[Abstimmung]')
}
export function messageIsInitialAnnouncement(msg: Message): boolean {
return msg.cleanContent.includes("[initial]")
}
export function messageIsVoteEndedMessage(msg: Message): boolean {
return msg.cleanContent.includes("[Abstimmung beendet]")
}