add event box to vote closed message
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Compile the repository / compile (pull_request) Successful in 1m18s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Compile the repository / compile (pull_request) Successful in 1m18s
				
			This commit is contained in:
		@@ -75,7 +75,7 @@ export async function closePoll(guild: Guild, requestId: string) {
 | 
				
			|||||||
async function sendVoteClosedMessage(event: GuildScheduledEvent, movie: string, guildId: string, requestId: string) {
 | 
					async function sendVoteClosedMessage(event: GuildScheduledEvent, movie: string, guildId: string, requestId: string) {
 | 
				
			||||||
    const date = event.scheduledStartAt ? format(event.scheduledStartAt, "dd.MM") : "Fehler, event hatte kein Datum"
 | 
					    const date = event.scheduledStartAt ? format(event.scheduledStartAt, "dd.MM") : "Fehler, event hatte kein Datum"
 | 
				
			||||||
    const time = event.scheduledStartAt ? format(event.scheduledStartAt, "HH:mm") : "Fehler, event hatte kein Datum"
 | 
					    const time = event.scheduledStartAt ? format(event.scheduledStartAt, "HH:mm") : "Fehler, event hatte kein Datum"
 | 
				
			||||||
    const body = `[Abstimmung beendet] <@&${config.bot.announcement_role}> Wir gucken  ${movie} am ${date} um ${time}`
 | 
					    const body = `[Abstimmung beendet] für https://discord.com/events/${event.guildId}/${event.id}\n<@&${config.bot.announcement_role}> Wir gucken  ${movie} am ${date} um ${time}`
 | 
				
			||||||
    const options: MessageCreateOptions = {
 | 
					    const options: MessageCreateOptions = {
 | 
				
			||||||
        content: body,
 | 
					        content: body,
 | 
				
			||||||
        allowedMentions: { parse: ["roles"] }
 | 
					        allowedMentions: { parse: ["roles"] }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user