feat(repo): updated info.json's of nerdify and aurora

This commit is contained in:
Seaswimmer 2024-01-16 18:07:20 +00:00
parent 818e974318
commit fa7faec4c2
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF
3 changed files with 49 additions and 12 deletions

View file

@ -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", "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"], "requirements": ["humanize", "pytimeparse2"],
"hidden": false, "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"
]
} }

View file

@ -6,5 +6,12 @@
"description" : "Nerdify your text!", "description" : "Nerdify your text!",
"end_user_data_statement" : "This cog does not store end user data.", "end_user_data_statement" : "This cog does not store end user data.",
"hidden": false, "hidden": false,
"disabled": false "disabled": false,
} "min_bot_version": "3.5.0",
"min_python_version": [3, 8, 0],
"tags": [
"fun",
"text",
"meme"
]
}

View file

@ -7,7 +7,7 @@
import asyncio import asyncio
from contextlib import suppress from contextlib import suppress
from typing import Any, Optional from typing import Any, Optional, Union
import discord import discord
from redbot.core import commands from redbot.core import commands
@ -61,7 +61,7 @@ class Nerdify(commands.Cog):
async def type_message( async def type_message(
self, destination: discord.abc.Messageable, content: str, **kwargs: Any 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. """Simulate typing and sending a message to a destination.
Will send a typing indicator, wait a variable amount of time based on the length Will send a typing indicator, wait a variable amount of time based on the length