mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 03:40:11 +01:00
feat(sigma): new command
Co-authored-by: neoarz <tyrantneo740@gmail.com>
This commit is contained in:
@@ -11,6 +11,7 @@ from .piracy import piracy_command
|
||||
from .keanu import keanu_command
|
||||
from .support import support_command
|
||||
from .docs import docs_command
|
||||
from .sigma import sigma_command
|
||||
|
||||
class Miscellaneous(commands.GroupCog, name="misc"):
|
||||
def __init__(self, bot) -> None:
|
||||
@@ -81,6 +82,10 @@ class Miscellaneous(commands.GroupCog, name="misc"):
|
||||
async def miscellaneous_group_docs(self, context: Context):
|
||||
await self._invoke_hybrid(context, "docs")
|
||||
|
||||
@miscellaneous_group.command(name="sigma")
|
||||
async def miscellaneous_group_sigma(self, context: Context):
|
||||
await self._invoke_hybrid(context, "sigma")
|
||||
|
||||
@commands.check(_require_group_prefix)
|
||||
@commands.hybrid_command(
|
||||
name="dontasktoask",
|
||||
@@ -153,6 +158,14 @@ class Miscellaneous(commands.GroupCog, name="misc"):
|
||||
async def docs(self, context):
|
||||
return await docs_command()(self, context)
|
||||
|
||||
@commands.check(_require_group_prefix)
|
||||
@commands.hybrid_command(
|
||||
name="sigma",
|
||||
description="i feel so sigma!"
|
||||
)
|
||||
async def sigma(self, context):
|
||||
return await sigma_command()(self, context)
|
||||
|
||||
async def setup(bot) -> None:
|
||||
cog = Miscellaneous(bot)
|
||||
await bot.add_cog(cog)
|
||||
@@ -166,3 +179,4 @@ async def setup(bot) -> None:
|
||||
bot.logger.info("Loaded extension 'miscellaneous.keanu'")
|
||||
bot.logger.info("Loaded extension 'miscellaneous.support'")
|
||||
bot.logger.info("Loaded extension 'miscellaneous.docs'")
|
||||
bot.logger.info("Loaded extension 'miscellaneous.sigma'")
|
||||
|
||||
Reference in New Issue
Block a user