fix(nerdify): don't use pipes!

This commit is contained in:
Seaswimmer 2024-01-07 13:45:18 +00:00
parent c8441a4a9c
commit b85d4553fd
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -57,7 +57,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