1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-27 08:57:46 +00:00

Add descriptions to cogs

This commit is contained in:
RGBCube 2022-12-30 21:13:58 +03:00
parent 64784fe284
commit 37d8f374e5
3 changed files with 11 additions and 3 deletions

View file

@ -20,7 +20,7 @@ if TYPE_CHECKING:
class Miscellaneous( class Miscellaneous(
Cog, Cog,
name="Miscellaneous", name="Miscellaneous",
description="Various utilities.", description="Miscellaneous commands.",
): ):
def __init__(self, bot: MinearchyBot) -> None: def __init__(self, bot: MinearchyBot) -> None:
self.bot = bot self.bot = bot

View file

@ -18,7 +18,11 @@ if TYPE_CHECKING:
from .. import MinearchyBot from .. import MinearchyBot
class Moderation(Cog): class Moderation(
Cog,
name="Moderation",
description="Moderation commands & utilities.",
):
def __init__(self, bot: MinearchyBot) -> None: def __init__(self, bot: MinearchyBot) -> None:
self.bot = bot self.bot = bot
self.time_values = { self.time_values = {

View file

@ -22,7 +22,11 @@ if TYPE_CHECKING:
from .. import MinearchyBot from .. import MinearchyBot
class Utils(Cog): class Utils(
Cog,
name="Utilities",
description="Various utilities.",
):
def __init__(self, bot: MinearchyBot) -> None: def __init__(self, bot: MinearchyBot) -> None:
self.bot = bot self.bot = bot