Merge pull request #15 from r-Overwatch2/main #18

Merged
AstroGD merged 14 commits from release/1.1.0 into main 2022-11-29 21:37:08 +01:00
3 changed files with 43 additions and 41 deletions
Showing only changes of commit 63c67f4992 - Show all commits

View File

@ -1,8 +1,8 @@
# Changelog
This file is used to list changes made to this software.
## V1.0.0 [`unreleased`]
_Current development version: **1.0.0-beta.3**_
## V1.0.0 [2022-11-29]
_Current development version: **1.0.0**_
### Features
- /info
- /logchannel
@ -14,7 +14,9 @@ _Current development version: **1.0.0-beta.3**_
- /showsettings
- Data will be deleted by default when the bot leaves the server
- Server admins can change the behaviour of the bot when it leaves the server to keep the data persistent
- Scans for blocked words in channel names and renames channels to "CENSORED" if found
- When settings are changed or channels are censored, notifications to a logchannel can be enabled
- Scans for blocked words in channel names and deletes the channel if found
- Gets the user creating or renaming a channel to a blocked word
- When settings are changed or channels are deleted, notifications to a logchannel can be enabled
- CLI to change settings and get information during runtime by attaching to the apps docker container
- API for automated uptime checks to prevent the bot from going offline unnoticed
- API for automated uptime checks to prevent the bot from going offline unnoticed
- Bot notifies admins via /showsettings when it lacks permissions needed for its functionality

68
package-lock.json generated
View File

@ -1,18 +1,18 @@
{
"name": "eu.astrogd.white-leopard",
"version": "1.0.0-beta.3",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "eu.astrogd.white-leopard",
"version": "1.0.0-beta.3",
"version": "1.0.0",
"license": "CC-BY-NC-ND-4.0",
"dependencies": {
"discord.js": "^14.6.0",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"fs-extra": "^10.1.0",
"fs-extra": "^11.0.0",
"moment": "^2.29.4",
"pg": "^8.8.0",
"typeorm": "^0.3.10"
@ -40,42 +40,42 @@
}
},
"node_modules/@discordjs/builders": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.3.0.tgz",
"integrity": "sha512-Pvca6Nw8Hp+n3N+Wp17xjygXmMvggbh5ywUsOYE2Et4xkwwVRwgzxDJiMUuYapPtnYt4w/8aKlf5khc8ipLvhg==",
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.4.0.tgz",
"integrity": "sha512-nEeTCheTTDw5kO93faM1j8ZJPonAX86qpq/QVoznnSa8WWcCgJpjlu6GylfINTDW6o7zZY0my2SYdxx2mfNwGA==",
"dependencies": {
"@discordjs/util": "^0.1.0",
"@sapphire/shapeshift": "^3.7.0",
"discord-api-types": "^0.37.12",
"@sapphire/shapeshift": "^3.7.1",
"discord-api-types": "^0.37.20",
"fast-deep-equal": "^3.1.3",
"ts-mixer": "^6.0.1",
"tslib": "^2.4.0"
"ts-mixer": "^6.0.2",
"tslib": "^2.4.1"
},
"engines": {
"node": ">=16.9.0"
}
},
"node_modules/@discordjs/collection": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.2.0.tgz",
"integrity": "sha512-VvrrtGb7vbfPHzbhGq9qZB5o8FOB+kfazrxdt0OtxzSkoBuw9dURMkCwWizZ00+rDpiK2HmLHBZX+y6JsG9khw==",
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.3.0.tgz",
"integrity": "sha512-ylt2NyZ77bJbRij4h9u/wVy7qYw/aDqQLWnadjvDqW/WoWCxrsX6M3CIw9GVP5xcGCDxsrKj5e0r5evuFYwrKg==",
"engines": {
"node": ">=16.9.0"
}
},
"node_modules/@discordjs/rest": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.3.0.tgz",
"integrity": "sha512-U6X5J+r/MxYpPTlHFuPxXEf92aKsBaD2teBC7sWkKILIr30O8c9+XshfL7KFBCavnAqS/qE+PF9fgRilO3N44g==",
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.4.0.tgz",
"integrity": "sha512-k3Ip7ffFSAfp7Mu4H/3BEXFvFz+JsbXRrRtpeBMnSp1LefhtlZWJE6xdXzNlblktKNQltnRwY+z0NZrGQdxAMw==",
"dependencies": {
"@discordjs/collection": "^1.2.0",
"@discordjs/collection": "^1.3.0",
"@discordjs/util": "^0.1.0",
"@sapphire/async-queue": "^1.5.0",
"@sapphire/snowflake": "^3.2.2",
"discord-api-types": "^0.37.12",
"discord-api-types": "^0.37.20",
"file-type": "^18.0.0",
"tslib": "^2.4.0",
"undici": "^5.11.0"
"tslib": "^2.4.1",
"undici": "^5.13.0"
},
"engines": {
"node": ">=16.9.0"
@ -667,22 +667,22 @@
"integrity": "sha512-uAO+55E11rMkYR36/paE1vKN8c2bZa1mgrIaiQIBgIZRKZTDIGOZB+8I5eMRPFJcGxrg16riUu+0aTu2JQEPew=="
},
"node_modules/discord.js": {
"version": "14.6.0",
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.6.0.tgz",
"integrity": "sha512-On1K7xpJZRe0KsziIaDih2ksYPhgxym/ZqV45i1f3yig4vUotikqs7qp5oXiTzQ/UTiNRCixUWFTh7vA1YBCqw==",
"version": "14.7.0",
"resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.7.0.tgz",
"integrity": "sha512-CR2JAoqR+82D7mfMZ7toPAqdIk2sMF8wgTc8yDGPPMHzJknIKtkEPtzWFhBYGMZUkK+M4POw08ngBWqK2A4RMg==",
"dependencies": {
"@discordjs/builders": "^1.3.0",
"@discordjs/collection": "^1.2.0",
"@discordjs/rest": "^1.3.0",
"@discordjs/builders": "^1.4.0",
"@discordjs/collection": "^1.3.0",
"@discordjs/rest": "^1.4.0",
"@discordjs/util": "^0.1.0",
"@sapphire/snowflake": "^3.2.2",
"@types/ws": "^8.5.3",
"discord-api-types": "^0.37.12",
"discord-api-types": "^0.37.20",
"fast-deep-equal": "^3.1.3",
"lodash.snakecase": "^4.1.1",
"tslib": "^2.4.0",
"undici": "^5.11.0",
"ws": "^8.9.0"
"tslib": "^2.4.1",
"undici": "^5.13.0",
"ws": "^8.11.0"
},
"engines": {
"node": ">=16.9.0"
@ -831,16 +831,16 @@
}
},
"node_modules/fs-extra": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.0.0.tgz",
"integrity": "sha512-4YxRvMi4P5C3WQTvdRfrv5UVqbISpqjORFQAW5QPiKAauaxNCwrEdIi6pG3tDFhKKpMen+enEhHIzB/tvIO+/w==",
"dependencies": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
},
"engines": {
"node": ">=12"
"node": ">=14.14"
}
},
"node_modules/fs.realpath": {

View File

@ -1,6 +1,6 @@
{
"name": "eu.astrogd.white-leopard",
"version": "1.0.0-beta.3",
"version": "1.0.0",
"description": "A Discord bot that checks channel names for blacklisted words and reverts the changes if necessary",
"main": "build/index.js",
"scripts": {
@ -41,7 +41,7 @@
"discord.js": "^14.6.0",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"fs-extra": "^10.1.0",
"fs-extra": "^11.0.0",
"moment": "^2.29.4",
"pg": "^8.8.0",
"typeorm": "^0.3.10"