Browse Source

Change "startsWith" to equals

pull/1/head
Abheek Dhawan 4 years ago
parent
commit
e07c685280
  1. 2
      bot/awesomescibo.mjs

2
bot/awesomescibo.mjs

@ -241,7 +241,7 @@ client.on('message', async message => {
)*/);
});
}
if (message.content.startsWith("do be training")) {
if (message.content.toLowerCase === "do be training") {
if (message.content === "do be training") {
var author = message.author;
fetch("https://scibowldb.com/api/questions/random")

Loading…
Cancel
Save