mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Fix error when app_commands.Group misses a name
This commit is contained in:
parent
576ab269e8
commit
555940352b
@ -1548,6 +1548,9 @@ class Group:
|
||||
if not self.description:
|
||||
raise TypeError('groups must have a description')
|
||||
|
||||
if not self.name:
|
||||
raise TypeError('groups must have a name')
|
||||
|
||||
self.parent: Optional[Group] = parent
|
||||
self.module: Optional[str]
|
||||
if cls.__discord_app_commands_has_module__:
|
||||
|
Loading…
x
Reference in New Issue
Block a user