KarlOfDuty / SCPDiscord

A Northwood plugin which adds remote interaction to an SCP:SL server through Discord.
https://karlofduty.com
GNU General Public License v3.0
12 stars 12 forks source link

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

Closed VALERA771 closed 1 year ago

VALERA771 commented 1 year ago

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 commented 1 year ago

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

KarlOfDuty commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

VALERA771 commented 1 year ago

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

KarlOfDuty commented 1 year ago

Yep in 3.1.0