WIP: Add UpdateChecker cog #14

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

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