Skip to content

Commit

Permalink
Added a default message for the invalid commands osdc#53
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
reapedjuggler committed Nov 8, 2020
1 parent 94c777a commit 4bbc002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord-bot/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ bot.on('message',message => {
.setTitle('Here are the list of commands ')
.addFields(
{name : '!help', value: "To view the list of commands " ,inline:false},
{name : '!website', value: "Visit our Website" ,inline:false},
{name : '!website', value: "Visit our Website" ,inline:false},
{name : '!facebook', value: "Follow us on Facebook " ,inline:false},
{name : '!twitter', value: "Check us out on Twitter " ,inline:false},
{name : '!github', value: "Visit our Github Repository " ,inline:false},
Expand Down

0 comments on commit 4bbc002

Please sign in to comment.