Merge branch 'main' into updatechecker

This commit is contained in:
Seaswimmer 2024-01-07 14:15:26 +00:00
commit 1ab812bf35
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -16,6 +16,10 @@ from redbot.core.utils import chat_formatting, common_filters
class Nerdify(commands.Cog): class Nerdify(commands.Cog):
"""Nerdify your text.""" """Nerdify your text."""
__author__ = "SeaswimmerTheFsh"
__version__ = "1.3.1"
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
@ -57,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: ) -> Optional(discord.Message):
"""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