-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add a default case for "I don't know that command" #53
Comments
Hey folks ! I would like to work on this issue |
@reapedjuggler Great 🚀. Thanks for showing your interest in this 🎉. I have assigned it to you 😁. Feel free to ask any queries regarding the issue or setting up the bot ✌️. |
Just a suggestion, it should be more like "I don't know this command, do !help to see the list of commands." |
Yes I will keep in mind :D |
Issue osdc#53 ,Bot was not showing any response for unknown triggers. Fixed it by adding a default message whenever a invalid command is triggered.
Issue osdc#53, Bot was not showing any response for unknown triggers. Fixed it by adding a default message whenever a invalid command is triggered.
* Update bot.js Added a default message for the commands which aren't valid * Added a default message for the invalid commands #53 Issue #53 ,Bot was not showing any response for unknown triggers. Fixed it by adding a default message whenever a invalid command is triggered. * Bot not responding to unknown Commands #53 Issue #53, Bot was not showing any response for unknown triggers. Fixed it by adding a default message whenever a invalid command is triggered. * Update bot.js * Removed unwanted return statement
New feature
Currently the discord bot doesn't respond to unknown triggers, but it should let the user know about the command being invalid.
Directions/Approach
https://github.com/osdc/bots/blob/6adc0b2cdd6b3258dfc32376272901e3cb5c1585/discord-bot/bot.js Add an else case. May need to convert the existing
if
statements toelse if
.First-time Contributors
If it is the first time that you contribute to the bot, follow these steps:
Write a comment in this issue thread to let other possible contributors know that you are working on this bug. For eg :
Hey all, I would like to work on this issue.
, follow README to the bot 🔥✨ and feel free to ask anything related to this issue ✌️The text was updated successfully, but these errors were encountered: