-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Targeting specific commands with help command not working #384
Comments
Can you provide a stack trace? I can neither reproduce this nor see how line 50 is related to this exception |
ERROR 2024-04-12 14:52:28,204 [command-execution-CommandContext@13bacb2b-f7cb-455c-a401-802cd64fa3cb] net.robinfriedli.aiode.exceptions.ExceptionUtils Exception while handling command !help play on guild The Cord of Bosses I referenced line 50 because the help command seems to work until it tries to showCommandHelp() on line 50 |
You need to looker higher up in the stack trace, line 50 is where it calls the lambda containing the entire help command logic. It gets up to here: |
You were correct I used the wrong syntax for my |
Anytime I try to use the help command on specific commands i get this embed:
Exception
IllegalArgumentException: URL must be a valid http(s) or attachment url.
CommandContext ID: xxxxxxxxxxxxxxxxxxx
If I do it to a command that doesnt exist though I still get this embed:
Error
No command found for 'h'
If you need help with a command you can use the help command. E.g. !help play
I believe the problem is here src/main/java/net/robinfriedli/aiode/command/commands/general/HelpCommand.java line 50
The text was updated successfully, but these errors were encountered: