Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit 83d23d7

Browse files
authored
Update cogs.py
1 parent 71d93d8 commit 83d23d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

discord_ui/cogs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ def subslash_cog(base_names, name=MISSING, description=MISSING, options=[], guil
394394
395395
Decorator
396396
---------
397-
398397
callback: :class:`method(ctx)`
399398
The asynchron function that will be called if the command was used
400399
ctx: :class:`~SlashedSubCommand`
@@ -405,8 +404,7 @@ def subslash_cog(base_names, name=MISSING, description=MISSING, options=[], guil
405404
``ctx`` is just an example name, you can use whatever you want for that
406405
407406
Example
408-
-------
409-
407+
--------
410408
subcommand
411409
412410
.. code-block::

0 commit comments

Comments
 (0)