Browse Source

Revert "Change "startsWith" to equals"

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

2
bot/awesomescibo.mjs

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

Loading…
Cancel
Save