Merge branch 'main' into updatechecker
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 17s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 14s

This commit is contained in:
Seaswimmer 2024-01-07 14:26:52 +00:00
commit 19972fda33

View file

@ -18,7 +18,7 @@ class Nerdify(commands.Cog):
"""Nerdify your text.""" """Nerdify your text."""
__author__ = "SeaswimmerTheFsh" __author__ = "SeaswimmerTheFsh"
__version__ = "1.3.1" __version__ = "1.3.2"
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
@ -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
) -> Optional(discord.Message): ) -> 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