WIP: Add UpdateChecker cog #14

Draft
cswimr wants to merge 37 commits from updatechecker into main
Showing only changes of commit 19972fda33 - Show all commits

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