add messageIdentifier helper

This commit is contained in:
kenobi 2023-06-25 01:57:30 +02:00
parent 5a6c66cb3e
commit e3e755011d
1 changed files with 6 additions and 0 deletions

View File

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