add messageIdentifier helper
This commit is contained in:
		
							
								
								
									
										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]')
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user