6 Commits

4 changed files with 6 additions and 7 deletions

View File

@ -2,9 +2,9 @@
This file is used to list changes made to this software. This file is used to list changes made to this software.
_Current development release: 1.1.0-alpha.1_ _Current development release: 1.1.0_
## V1.1.0 [`Unreleased`] ## V1.1.0 [2022-11-29]
### Features ### Features

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "eu.astrogd.white-leopard", "name": "eu.astrogd.white-leopard",
"version": "1.0.0", "version": "1.1.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "eu.astrogd.white-leopard", "name": "eu.astrogd.white-leopard",
"version": "1.0.0", "version": "1.1.0",
"license": "CC-BY-NC-ND-4.0", "license": "CC-BY-NC-ND-4.0",
"dependencies": { "dependencies": {
"discord.js": "^14.6.0", "discord.js": "^14.6.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "eu.astrogd.white-leopard", "name": "eu.astrogd.white-leopard",
"version": "1.1.0-alpha.1", "version": "1.1.0",
"description": "A Discord bot that checks channel names for blacklisted words and reverts the changes if necessary", "description": "A Discord bot that checks channel names for blacklisted words and reverts the changes if necessary",
"main": "build/index.js", "main": "build/index.js",
"scripts": { "scripts": {

View File

@ -36,8 +36,7 @@ export function getUserReportEmbed(guildName: string, channelName: string): Embe
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 ${guildName} server. \ Your channel (#${channelName}) on the "${guildName}" server contained a blacklisted word and was deleted automatically.
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;