Skip to content

Commit 36c3c53

Browse files
committed
Fixed docs
1 parent 5f6891b commit 36c3c53

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

discord_slash/cog_ext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def cog_slash(*,
1313
Almost same as :func:`.client.SlashCommand.slash`.
1414
1515
Example:
16+
1617
.. code-block:: python
1718
1819
class ExampleCog(commands.Cog):
@@ -74,6 +75,7 @@ def cog_subcommand(*,
7475
Almost same as :func:`.client.SlashCommand.subcommand`.
7576
7677
Example:
78+
7779
.. code-block:: python
7880
7981
class ExampleCog(commands.Cog):

docs/discord_slash.cog_ext.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
discord\_slash.cog\_ext module
2+
==============================
3+
4+
.. automodule:: discord_slash.cog_ext
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/discord_slash.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Submodules
88
:maxdepth: 4
99

1010
discord_slash.client
11+
discord_slash.cog_ext
1112
discord_slash.error
1213
discord_slash.http
1314
discord_slash.model

0 commit comments

Comments
 (0)