Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve this error message #1730

Open
github-actions bot opened this issue Oct 26, 2022 · 0 comments · May be fixed by #2275
Open

Improve this error message #1730

github-actions bot opened this issue Oct 26, 2022 · 0 comments · May be fixed by #2275

Comments

@github-actions
Copy link
Contributor

Line: 1234

"""
if self.parent is not None:
# TODO: Improve this error message
raise Exception("a subgroup cannot have a subgroup")
sub_command_group = SlashCommandGroup(
name, description, guild_ids, parent=self, **kwargs
)
self.subcommands.append(sub_command_group)
return sub_command_group

@Lulalaby Lulalaby added this to the v2.5 milestone Feb 10, 2023
@Dorukyum Dorukyum removed the on hold label Dec 2, 2023
@Dorukyum Dorukyum linked a pull request Dec 3, 2023 that will close this issue
9 tasks
@Lulalaby Lulalaby modified the milestones: v2.5, v2.6 Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants