Merge pull request #15 from r-Overwatch2/main #18
							
								
								
									
										10
									
								
								Changelog.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Changelog.md
									
									
									
									
									
								
							@@ -1,8 +1,8 @@
 | 
				
			|||||||
# Changelog
 | 
					# Changelog
 | 
				
			||||||
This file is used to list changes made to this software.
 | 
					This file is used to list changes made to this software.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## V1.0.0 [`unreleased`]
 | 
					## V1.0.0 [2022-11-29]
 | 
				
			||||||
_Current development version: **1.0.0-beta.3**_
 | 
					_Current development version: **1.0.0**_
 | 
				
			||||||
### Features
 | 
					### Features
 | 
				
			||||||
- /info
 | 
					- /info
 | 
				
			||||||
- /logchannel
 | 
					- /logchannel
 | 
				
			||||||
@@ -14,7 +14,9 @@ _Current development version: **1.0.0-beta.3**_
 | 
				
			|||||||
- /showsettings
 | 
					- /showsettings
 | 
				
			||||||
- Data will be deleted by default when the bot leaves the server
 | 
					- 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
 | 
					- 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
 | 
					- Scans for blocked words in channel names and deletes the channel if found
 | 
				
			||||||
- When settings are changed or channels are censored, notifications to a logchannel can be enabled
 | 
					- 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
 | 
					- 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
									
									
									
								
							
							
						
						
									
										68
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -1,18 +1,18 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "eu.astrogd.white-leopard",
 | 
					  "name": "eu.astrogd.white-leopard",
 | 
				
			||||||
  "version": "1.0.0-beta.3",
 | 
					  "version": "1.0.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-beta.3",
 | 
					      "version": "1.0.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",
 | 
				
			||||||
        "dotenv": "^16.0.3",
 | 
					        "dotenv": "^16.0.3",
 | 
				
			||||||
        "express": "^4.18.2",
 | 
					        "express": "^4.18.2",
 | 
				
			||||||
        "fs-extra": "^10.1.0",
 | 
					        "fs-extra": "^11.0.0",
 | 
				
			||||||
        "moment": "^2.29.4",
 | 
					        "moment": "^2.29.4",
 | 
				
			||||||
        "pg": "^8.8.0",
 | 
					        "pg": "^8.8.0",
 | 
				
			||||||
        "typeorm": "^0.3.10"
 | 
					        "typeorm": "^0.3.10"
 | 
				
			||||||
@@ -40,42 +40,42 @@
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/@discordjs/builders": {
 | 
					    "node_modules/@discordjs/builders": {
 | 
				
			||||||
      "version": "1.3.0",
 | 
					      "version": "1.4.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.3.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.4.0.tgz",
 | 
				
			||||||
      "integrity": "sha512-Pvca6Nw8Hp+n3N+Wp17xjygXmMvggbh5ywUsOYE2Et4xkwwVRwgzxDJiMUuYapPtnYt4w/8aKlf5khc8ipLvhg==",
 | 
					      "integrity": "sha512-nEeTCheTTDw5kO93faM1j8ZJPonAX86qpq/QVoznnSa8WWcCgJpjlu6GylfINTDW6o7zZY0my2SYdxx2mfNwGA==",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
        "@discordjs/util": "^0.1.0",
 | 
					        "@discordjs/util": "^0.1.0",
 | 
				
			||||||
        "@sapphire/shapeshift": "^3.7.0",
 | 
					        "@sapphire/shapeshift": "^3.7.1",
 | 
				
			||||||
        "discord-api-types": "^0.37.12",
 | 
					        "discord-api-types": "^0.37.20",
 | 
				
			||||||
        "fast-deep-equal": "^3.1.3",
 | 
					        "fast-deep-equal": "^3.1.3",
 | 
				
			||||||
        "ts-mixer": "^6.0.1",
 | 
					        "ts-mixer": "^6.0.2",
 | 
				
			||||||
        "tslib": "^2.4.0"
 | 
					        "tslib": "^2.4.1"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "engines": {
 | 
					      "engines": {
 | 
				
			||||||
        "node": ">=16.9.0"
 | 
					        "node": ">=16.9.0"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/@discordjs/collection": {
 | 
					    "node_modules/@discordjs/collection": {
 | 
				
			||||||
      "version": "1.2.0",
 | 
					      "version": "1.3.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.2.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.3.0.tgz",
 | 
				
			||||||
      "integrity": "sha512-VvrrtGb7vbfPHzbhGq9qZB5o8FOB+kfazrxdt0OtxzSkoBuw9dURMkCwWizZ00+rDpiK2HmLHBZX+y6JsG9khw==",
 | 
					      "integrity": "sha512-ylt2NyZ77bJbRij4h9u/wVy7qYw/aDqQLWnadjvDqW/WoWCxrsX6M3CIw9GVP5xcGCDxsrKj5e0r5evuFYwrKg==",
 | 
				
			||||||
      "engines": {
 | 
					      "engines": {
 | 
				
			||||||
        "node": ">=16.9.0"
 | 
					        "node": ">=16.9.0"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/@discordjs/rest": {
 | 
					    "node_modules/@discordjs/rest": {
 | 
				
			||||||
      "version": "1.3.0",
 | 
					      "version": "1.4.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.3.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-1.4.0.tgz",
 | 
				
			||||||
      "integrity": "sha512-U6X5J+r/MxYpPTlHFuPxXEf92aKsBaD2teBC7sWkKILIr30O8c9+XshfL7KFBCavnAqS/qE+PF9fgRilO3N44g==",
 | 
					      "integrity": "sha512-k3Ip7ffFSAfp7Mu4H/3BEXFvFz+JsbXRrRtpeBMnSp1LefhtlZWJE6xdXzNlblktKNQltnRwY+z0NZrGQdxAMw==",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
        "@discordjs/collection": "^1.2.0",
 | 
					        "@discordjs/collection": "^1.3.0",
 | 
				
			||||||
        "@discordjs/util": "^0.1.0",
 | 
					        "@discordjs/util": "^0.1.0",
 | 
				
			||||||
        "@sapphire/async-queue": "^1.5.0",
 | 
					        "@sapphire/async-queue": "^1.5.0",
 | 
				
			||||||
        "@sapphire/snowflake": "^3.2.2",
 | 
					        "@sapphire/snowflake": "^3.2.2",
 | 
				
			||||||
        "discord-api-types": "^0.37.12",
 | 
					        "discord-api-types": "^0.37.20",
 | 
				
			||||||
        "file-type": "^18.0.0",
 | 
					        "file-type": "^18.0.0",
 | 
				
			||||||
        "tslib": "^2.4.0",
 | 
					        "tslib": "^2.4.1",
 | 
				
			||||||
        "undici": "^5.11.0"
 | 
					        "undici": "^5.13.0"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "engines": {
 | 
					      "engines": {
 | 
				
			||||||
        "node": ">=16.9.0"
 | 
					        "node": ">=16.9.0"
 | 
				
			||||||
@@ -667,22 +667,22 @@
 | 
				
			|||||||
      "integrity": "sha512-uAO+55E11rMkYR36/paE1vKN8c2bZa1mgrIaiQIBgIZRKZTDIGOZB+8I5eMRPFJcGxrg16riUu+0aTu2JQEPew=="
 | 
					      "integrity": "sha512-uAO+55E11rMkYR36/paE1vKN8c2bZa1mgrIaiQIBgIZRKZTDIGOZB+8I5eMRPFJcGxrg16riUu+0aTu2JQEPew=="
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/discord.js": {
 | 
					    "node_modules/discord.js": {
 | 
				
			||||||
      "version": "14.6.0",
 | 
					      "version": "14.7.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.6.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.7.0.tgz",
 | 
				
			||||||
      "integrity": "sha512-On1K7xpJZRe0KsziIaDih2ksYPhgxym/ZqV45i1f3yig4vUotikqs7qp5oXiTzQ/UTiNRCixUWFTh7vA1YBCqw==",
 | 
					      "integrity": "sha512-CR2JAoqR+82D7mfMZ7toPAqdIk2sMF8wgTc8yDGPPMHzJknIKtkEPtzWFhBYGMZUkK+M4POw08ngBWqK2A4RMg==",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
        "@discordjs/builders": "^1.3.0",
 | 
					        "@discordjs/builders": "^1.4.0",
 | 
				
			||||||
        "@discordjs/collection": "^1.2.0",
 | 
					        "@discordjs/collection": "^1.3.0",
 | 
				
			||||||
        "@discordjs/rest": "^1.3.0",
 | 
					        "@discordjs/rest": "^1.4.0",
 | 
				
			||||||
        "@discordjs/util": "^0.1.0",
 | 
					        "@discordjs/util": "^0.1.0",
 | 
				
			||||||
        "@sapphire/snowflake": "^3.2.2",
 | 
					        "@sapphire/snowflake": "^3.2.2",
 | 
				
			||||||
        "@types/ws": "^8.5.3",
 | 
					        "@types/ws": "^8.5.3",
 | 
				
			||||||
        "discord-api-types": "^0.37.12",
 | 
					        "discord-api-types": "^0.37.20",
 | 
				
			||||||
        "fast-deep-equal": "^3.1.3",
 | 
					        "fast-deep-equal": "^3.1.3",
 | 
				
			||||||
        "lodash.snakecase": "^4.1.1",
 | 
					        "lodash.snakecase": "^4.1.1",
 | 
				
			||||||
        "tslib": "^2.4.0",
 | 
					        "tslib": "^2.4.1",
 | 
				
			||||||
        "undici": "^5.11.0",
 | 
					        "undici": "^5.13.0",
 | 
				
			||||||
        "ws": "^8.9.0"
 | 
					        "ws": "^8.11.0"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "engines": {
 | 
					      "engines": {
 | 
				
			||||||
        "node": ">=16.9.0"
 | 
					        "node": ">=16.9.0"
 | 
				
			||||||
@@ -831,16 +831,16 @@
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/fs-extra": {
 | 
					    "node_modules/fs-extra": {
 | 
				
			||||||
      "version": "10.1.0",
 | 
					      "version": "11.0.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.0.0.tgz",
 | 
				
			||||||
      "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
 | 
					      "integrity": "sha512-4YxRvMi4P5C3WQTvdRfrv5UVqbISpqjORFQAW5QPiKAauaxNCwrEdIi6pG3tDFhKKpMen+enEhHIzB/tvIO+/w==",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
        "graceful-fs": "^4.2.0",
 | 
					        "graceful-fs": "^4.2.0",
 | 
				
			||||||
        "jsonfile": "^6.0.1",
 | 
					        "jsonfile": "^6.0.1",
 | 
				
			||||||
        "universalify": "^2.0.0"
 | 
					        "universalify": "^2.0.0"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "engines": {
 | 
					      "engines": {
 | 
				
			||||||
        "node": ">=12"
 | 
					        "node": ">=14.14"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/fs.realpath": {
 | 
					    "node_modules/fs.realpath": {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "eu.astrogd.white-leopard",
 | 
					  "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",
 | 
					  "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": {
 | 
				
			||||||
@@ -41,7 +41,7 @@
 | 
				
			|||||||
    "discord.js": "^14.6.0",
 | 
					    "discord.js": "^14.6.0",
 | 
				
			||||||
    "dotenv": "^16.0.3",
 | 
					    "dotenv": "^16.0.3",
 | 
				
			||||||
    "express": "^4.18.2",
 | 
					    "express": "^4.18.2",
 | 
				
			||||||
    "fs-extra": "^10.1.0",
 | 
					    "fs-extra": "^11.0.0",
 | 
				
			||||||
    "moment": "^2.29.4",
 | 
					    "moment": "^2.29.4",
 | 
				
			||||||
    "pg": "^8.8.0",
 | 
					    "pg": "^8.8.0",
 | 
				
			||||||
    "typeorm": "^0.3.10"
 | 
					    "typeorm": "^0.3.10"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user