@@ -581,32 +581,33 @@ async def raw_guild_create(self, guild) -> dict:
581581 return guild ._json
582582
583583
584- class Extension :
585- """
586- A class that allows you to represent "extensions" of your code, or
587- essentially cogs that can be ran independent of the root file in
588- an object-oriented structure.
584+ # TODO: Implement the rest of cog behaviour when possible.
585+ # class Extension:
586+ # """
587+ # A class that allows you to represent "extensions" of your code, or
588+ # essentially cogs that can be ran independent of the root file in
589+ # an object-oriented structure.
589590
590- The structure of an extension:
591+ # The structure of an extension:
591592
592- .. code-block:: python
593+ # .. code-block:: python
593594
594- class CoolCode(interactions.Extension):
595- def __init__(self, client):
596- ...
595+ # class CoolCode(interactions.Extension):
596+ # def __init__(self, client):
597+ # ...
597598
598- @self.client.command(
599- type=interactions.ApplicationCommandType.USER,
600- name="User command in cog",
601- )
602- async def cog_user_cmd(self, ctx):
603- ...
599+ # @self.client.command(
600+ # type=interactions.ApplicationCommandType.USER,
601+ # name="User command in cog",
602+ # )
603+ # async def cog_user_cmd(self, ctx):
604+ # ...
604605
605- def setup(bot):
606- CoolCode(bot)
607- """
606+ # def setup(bot):
607+ # CoolCode(bot)
608+ # """
608609
609- client : Client
610+ # client: Client
610611
611- def __new__ (cls , bot : Client ) -> None :
612- cls .client = bot
612+ # def __new__(cls, bot: Client) -> None:
613+ # cls.client = bot
0 commit comments