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

When command has wrong arguments show usage of this command #74

Closed
VALERA771 opened this issue Apr 1, 2023 · 7 comments
Closed

When command has wrong arguments show usage of this command #74

VALERA771 opened this issue Apr 1, 2023 · 7 comments
Assignees
Labels

Comments

@VALERA771
Copy link

Describe what you want to be implemented
When you using bot commands like ban/unban and etc will be good if "Invalid arguments" will be replaced with command example/required arguments

Motivate why this change is needed/appreciated by the community
Blame me if I blind and can't find usage for this commands, but I need to see code and how they're implemented, to see which arguments I need to use

@KarlOfDuty
Copy link
Owner

How exactly are you using the command? I can't really get it to use the command without showing the arguments.

@KarlOfDuty
Copy link
Owner

KarlOfDuty commented Apr 1, 2023

And if you want to list all the commands without reading the code you can use the /help command and click on the command documentation link.

@VALERA771
Copy link
Author

How exactly are you using the command? I can't really get it to use the command without showing the arguments.

Just using it with any arguments or not correct amount of them

And if you want to list all the commands without reading the code you can use the /help command and click on the command documentation link.

Yes, but this will be also useful

@KarlOfDuty
Copy link
Owner

KarlOfDuty commented Apr 3, 2023

Just using it with any arguments or not correct amount of them

Yeah but how, Discord will literally not allow me to send the message without the required arguments

@KarlOfDuty
Copy link
Owner

Like when I type it and press enter it shows this and refuses to send the command:
image

@VALERA771
Copy link
Author

On server we doesn't have slash commands. They're already implemented?

@KarlOfDuty
Copy link
Owner

Yep in 3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants