add messageIdentifier helper
This commit is contained in:
parent
5a6c66cb3e
commit
e3e755011d
6
server/helper/messageIdentifiers.ts
Normal file
6
server/helper/messageIdentifiers.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { Message } from "discord.js";
|
||||||
|
|
||||||
|
export function messageIsVoteMessage(msg: Message): boolean {
|
||||||
|
return msg.content.includes('[Abstimmung]')
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user