From 9b96a1562155d851e43d4051b972a0a50549168c Mon Sep 17 00:00:00 2001 From: cswimr Date: Thu, 6 Feb 2025 15:10:19 -0600 Subject: [PATCH] chore(repo): add schemas to repo.json files --- antipolls/info.json | 19 ++++++++----------- backup/info.json | 18 ++++-------------- bible/info.json | 19 ++++++++----------- emojiinfo/info.json | 17 ++++++++--------- hotreload/info.json | 20 +++++--------------- nerdify/info.json | 19 ++++++++----------- pterodactyl/info.json | 20 ++++++++------------ seautils/info.json | 13 +++++++------ 8 files changed, 56 insertions(+), 89 deletions(-) diff --git a/antipolls/info.json b/antipolls/info.json index 7856195..24bc0bb 100644 --- a/antipolls/info.json +++ b/antipolls/info.json @@ -1,17 +1,14 @@ { - "author" : ["cswimr"], - "install_msg" : "Thank you for installing AntiPolls!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).", - "name" : "AntiPolls", - "short" : "AntiPolls deletes messages that contain polls.", - "description" : "AntiPolls deletes messages that contain polls, with a configurable per-guild role and channel whitelist and support for default Discord permissions (Manage Messages).", - "end_user_data_statement" : "This cog does not store any user data.", + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], + "install_msg": "Thank you for installing AntiPolls!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).", + "name": "AntiPolls", + "short": "AntiPolls deletes messages that contain polls.", + "description": "AntiPolls deletes messages that contain polls, with a configurable per-guild role and channel whitelist and support for default Discord permissions (Manage Messages).", + "end_user_data_statement": "This cog does not store any user data.", "hidden": true, "disabled": false, "min_bot_version": "3.5.0", "min_python_version": [3, 10, 0], - "tags": [ - "automod", - "automoderation", - "polls" - ] + "tags": ["automod", "automoderation", "polls"] } diff --git a/backup/info.json b/backup/info.json index 288ece1..b00ecaf 100644 --- a/backup/info.json +++ b/backup/info.json @@ -1,7 +1,6 @@ { - "author": [ - "cswimr" - ], + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], "install_msg": "Thank you for installing Backup!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).", "name": "Backup", "short": "A utility to make reinstalling repositories and cogs after migrating the bot far easier.", @@ -11,15 +10,6 @@ "disabled": false, "min_bot_version": "3.5.6", "max_bot_version": "3.5.14", - "min_python_version": [ - 3, - 9, - 0 - ], - "tags": [ - "utility", - "backup", - "restore", - "migration" - ] + "min_python_version": [3, 9, 0], + "tags": ["utility", "backup", "restore", "migration"] } diff --git a/bible/info.json b/bible/info.json index b2da6d1..79ae088 100644 --- a/bible/info.json +++ b/bible/info.json @@ -1,18 +1,15 @@ { - "author" : ["cswimr"], - "install_msg" : "Thank you for installing Bible!\nThis cog requires setting an API key for API.Bible. Please read the [documentation](https://seacogs.coastalcommits.com/bible/#setup) for more information.\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).", - "name" : "Bible", - "short" : "Retrieve Bible verses from API.Bible.", - "description" : "Retrieve Bible verses from the API.Bible API. This cog requires an API.Bible api key.", - "end_user_data_statement" : "This cog does not store end user data, however it does send the following data to the API.Bible API:\n- The bot user's ID\n- The timestamp of the invoking message\n- The hashed user id of the invoking user", + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], + "install_msg": "Thank you for installing Bible!\nThis cog requires setting an API key for API.Bible. Please read the [documentation](https://seacogs.coastalcommits.com/bible/#setup) for more information.\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).", + "name": "Bible", + "short": "Retrieve Bible verses from API.Bible.", + "description": "Retrieve Bible verses from the API.Bible API. This cog requires an API.Bible api key.", + "end_user_data_statement": "This cog does not store end user data, however it does send the following data to the API.Bible API:\n- The bot user's ID\n- The timestamp of the invoking message\n- The hashed user id of the invoking user", "hidden": false, "disabled": false, "min_bot_version": "3.5.0", "min_python_version": [3, 10, 0], "requirements": ["numpy", "pillow"], - "tags": [ - "fun", - "utility", - "api" - ] + "tags": ["fun", "utility", "api"] } diff --git a/emojiinfo/info.json b/emojiinfo/info.json index 68a8de1..ccc32c7 100644 --- a/emojiinfo/info.json +++ b/emojiinfo/info.json @@ -1,16 +1,15 @@ { - "author" : ["cswimr"], - "install_msg" : "Thank you for installing Emoji!", - "name" : "Emoji", - "short" : "Retrieve information about emojis.", - "description" : "Retrieve information about emojis.", - "end_user_data_statement" : "This cog does not store end user data.", + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], + "install_msg": "Thank you for installing Emoji!", + "name": "Emoji", + "short": "Retrieve information about emojis.", + "description": "Retrieve information about emojis.", + "end_user_data_statement": "This cog does not store end user data.", "hidden": false, "disabled": false, "min_bot_version": "3.5.0", "min_python_version": [3, 10, 0], "requirements": ["colorthief"], - "tags": [ - "utility" - ] + "tags": ["utility"] } diff --git a/hotreload/info.json b/hotreload/info.json index 6028830..4669078 100644 --- a/hotreload/info.json +++ b/hotreload/info.json @@ -1,7 +1,6 @@ { - "author": [ - "cswimr" - ], + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], "install_msg": "Thank you for installing HotReload! Please see the [documentation](https://seacogs.coastalcommits.com/hotreload) to get started.", "name": "HotReload", "short": "Automatically reload cogs in local cog paths on file change.", @@ -10,16 +9,7 @@ "hidden": false, "disabled": false, "min_bot_version": "3.5.0", - "min_python_version": [ - 3, - 8, - 0 - ], - "requirements": [ - "watchdog" - ], - "tags": [ - "utility", - "development" - ] + "min_python_version": [3, 8, 0], + "requirements": ["watchdog"], + "tags": ["utility", "development"] } diff --git a/nerdify/info.json b/nerdify/info.json index 1d06223..eeb0ef7 100644 --- a/nerdify/info.json +++ b/nerdify/info.json @@ -1,17 +1,14 @@ { - "author" : ["cswimr"], - "install_msg" : "Thank you for installing Nerdify!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs). Based off of PhasecoreX's [UwU]() cog.", - "name" : "Nerdify", - "short" : "Nerdify your text!", - "description" : "Nerdify your text!", - "end_user_data_statement" : "This cog does not store end user data.", + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], + "install_msg": "Thank you for installing Nerdify!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs). Based off of PhasecoreX's [UwU]() cog.", + "name": "Nerdify", + "short": "Nerdify your text!", + "description": "Nerdify your text!", + "end_user_data_statement": "This cog does not store end user data.", "hidden": false, "disabled": false, "min_bot_version": "3.5.0", "min_python_version": [3, 8, 0], - "tags": [ - "fun", - "text", - "meme" - ] + "tags": ["fun", "text", "meme"] } diff --git a/pterodactyl/info.json b/pterodactyl/info.json index 7c4545a..ec7c4db 100644 --- a/pterodactyl/info.json +++ b/pterodactyl/info.json @@ -1,19 +1,15 @@ { - "author" : ["cswimr"], - "install_msg" : "Thank you for installing Pterodactyl!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).\nDocumentation can be found [here](https://seacogs.coastalcommits.com/pterodactyl ).", - "name" : "Pterodactyl", - "short" : "Interface with Pterodactyl through websockets.", - "description" : "Interface with Pterodactyl through websockets.", - "end_user_data_statement" : "This cog does not store end user data.", + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], + "install_msg": "Thank you for installing Pterodactyl!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).\nDocumentation can be found [here](https://seacogs.coastalcommits.com/pterodactyl ).", + "name": "Pterodactyl", + "short": "Interface with Pterodactyl through websockets.", + "description": "Interface with Pterodactyl through websockets.", + "end_user_data_statement": "This cog does not store end user data.", "hidden": false, "disabled": false, "min_bot_version": "3.5.0", "min_python_version": [3, 8, 0], "requirements": ["git+https://github.com/cswimr/pydactyl", "websockets"], - "tags": [ - "pterodactyl", - "minecraft", - "server", - "management" - ] + "tags": ["pterodactyl", "minecraft", "server", "management"] } diff --git a/seautils/info.json b/seautils/info.json index 2f8fa83..bdd6708 100644 --- a/seautils/info.json +++ b/seautils/info.json @@ -1,10 +1,11 @@ { - "author" : ["cswimr"], - "install_msg" : "Thank you for installing SeaUtils!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).", - "name" : "SeaUtils", - "short" : "A collection of useful utilities.", - "description" : "A collection of useful utilities.", - "end_user_data_statement" : "This cog does not store end user data.", + "$schema": "https://raw.githubusercontent.com/Cog-Creators/Red-DiscordBot/refs/heads/V3/develop/schema/red_cog_repo.schema.json", + "author": ["cswimr"], + "install_msg": "Thank you for installing SeaUtils!\nYou can find the source code of this cog [here](https://coastalcommits.com/cswimr/SeaCogs).", + "name": "SeaUtils", + "short": "A collection of useful utilities.", + "description": "A collection of useful utilities.", + "end_user_data_statement": "This cog does not store end user data.", "hidden": true, "disabled": false, "min_bot_version": "3.5.0",