Add user report Embed #17
@@ -31,13 +31,13 @@ export function getFailedEmbed(): EmbedBuilder {
 | 
				
			|||||||
    return embed;
 | 
					    return embed;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function getUserReportEmbed(channel: GuildTextBasedChannel): EmbedBuilder {
 | 
					export function getUserReportEmbed(guildName: string, channelName: string): EmbedBuilder {
 | 
				
			||||||
    const embed = getDefaultEmbed();
 | 
					    const embed = getDefaultEmbed();
 | 
				
			||||||
    embed.setColor(Color.STOPSIGN_RED);
 | 
					    embed.setColor(Color.STOPSIGN_RED);
 | 
				
			||||||
    embed.setTitle(`${Emoji.SECURITY_CHALLENGE_FAILED} A channel you modified has been deleted`);
 | 
					    embed.setTitle(`${Emoji.SECURITY_CHALLENGE_FAILED} A channel you modified has been deleted`);
 | 
				
			||||||
    embed.setDescription(`Hey there ${Emoji.WAVING}
 | 
					    embed.setDescription(`Hey there ${Emoji.WAVING}
 | 
				
			||||||
You just modified a channel on the ${channel.guild.name} server. \
 | 
					You just modified a channel on the ${guildName} server. \
 | 
				
			||||||
However, your channel name (#${channel.name}) contained a word that is not allowed so your channel got deleted.
 | 
					However, your channel name (#${channelName}) contained a word that is not allowed so your channel got deleted.
 | 
				
			||||||
Please make sure to keep channel names friendly for everyone!`);
 | 
					Please make sure to keep channel names friendly for everyone!`);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return embed;
 | 
					    return embed;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user