fix(nerdify): reverted an old commit

This commit is contained in:
Seaswimmer 2024-01-07 14:20:19 +00:00
parent 078ce53dc9
commit ca244b234a
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

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