add messageIdentifier helper

This commit is contained in:
kenobi 2023-06-25 01:57:30 +02:00
parent 5a6c66cb3e
commit e3e755011d

View File

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