From fa7faec4c2845cdb51fb86dbeba8da88f8d22cb4 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Jan 2024 18:07:20 +0000 Subject: [PATCH] feat(repo): updated info.json's of nerdify and aurora --- aurora/info.json | 32 +++++++++++++++++++++++++++++++- nerdify/info.json | 25 ++++++++++++++++--------- nerdify/nerdify.py | 4 ++-- 3 files changed, 49 insertions(+), 12 deletions(-) diff --git a/aurora/info.json b/aurora/info.json index 613bc70..c54f2ee 100644 --- a/aurora/info.json +++ b/aurora/info.json @@ -7,5 +7,35 @@ "end_user_data_statement" : "This cog stores the following information:\n- User IDs of accounts who moderate users or are moderated\n- Guild IDs of guilds with the cog enabled\n- Timestamps of moderations\n- Other information relating to moderations", "requirements": ["humanize", "pytimeparse2"], "hidden": false, - "disabled": false + "disabled": false, + "min_bot_version": "3.5.0", + "min_python_version": [3, 10, 0], + "tags": [ + "mod", + "moderate", + "moderation", + "warn", + "warns", + "warning", + "warnings", + "mute", + "mutes", + "timeout", + "timeouts", + "unmute", + "unmutes", + "untimeout", + "untimeouts", + "kick", + "kicks", + "ban", + "bans", + "unban", + "unbans", + "tempban", + "tempbans", + "galacticbot", + "galactic bot", + "galactic" + ] } diff --git a/nerdify/info.json b/nerdify/info.json index dca29c7..26986e7 100644 --- a/nerdify/info.json +++ b/nerdify/info.json @@ -1,10 +1,17 @@ { - "author" : ["SeaswimmerTheFsh"], - "install_msg" : "Thank you for installing Nerdify!\nYou can find the source code of this cog [here](https://coastalcommits.com/SeaswimmerTheFsh/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 - } + "author" : ["SeaswimmerTheFsh"], + "install_msg" : "Thank you for installing Nerdify!\nYou can find the source code of this cog [here](https://coastalcommits.com/SeaswimmerTheFsh/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" + ] +} diff --git a/nerdify/nerdify.py b/nerdify/nerdify.py index 10b7bfa..c3472aa 100644 --- a/nerdify/nerdify.py +++ b/nerdify/nerdify.py @@ -7,7 +7,7 @@ import asyncio from contextlib import suppress -from typing import Any, Optional +from typing import Any, Optional, Union import discord from redbot.core import commands @@ -61,7 +61,7 @@ class Nerdify(commands.Cog): async def type_message( self, destination: discord.abc.Messageable, content: str, **kwargs: Any - ) -> discord.Message | None: + ) -> Union[discord.Message, None]: """Simulate typing and sending a message to a destination. Will send a typing indicator, wait a variable amount of time based on the length