File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -540,6 +540,16 @@ def create_group(
540
540
541
541
.. versionadded:: 2.0
542
542
543
+ Parameters
544
+ ----------
545
+ name: :class:`str`
546
+ The name of the group to create.
547
+ description: :class:`str`
548
+ The description of the group to create.
549
+ guild_ids: Optional[List[int]]
550
+ A list of the IDs of each guild this group should be added to, making it a guild command.
551
+ This will be a global command if ``None`` is passed.
552
+
543
553
Returns
544
554
--------
545
555
SlashCommandGroup
@@ -560,6 +570,16 @@ def group(
560
570
561
571
.. versionadded:: 2.0
562
572
573
+ Parameters
574
+ ----------
575
+ name: :class:`str`
576
+ The name of the group to create.
577
+ description: :class:`str`
578
+ The description of the group to create.
579
+ guild_ids: Optional[List[int]]
580
+ A list of the IDs of each guild this group should be added to, making it a guild command.
581
+ This will be a global command if ``None`` is passed.
582
+
563
583
Returns
564
584
--------
565
585
Callable[[Type[SlashCommandGroup]], SlashCommandGroup]
You can’t perform that action at this time.
0 commit comments