more message identifiers
This commit is contained in:
		@@ -1,6 +1,11 @@
 | 
				
			|||||||
import { Message } from "discord.js";
 | 
					import { Message } from "discord.js";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function messageIsVoteMessage(msg: Message): boolean {
 | 
					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]")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user