Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
012236205a
2
main.cjs
2
main.cjs
@ -273,7 +273,7 @@ global.madlibNextPrompt = function madlibNextPrompt(client, iteration, selectedS
|
||||
const channel = client.channels.cache.get(madlibState.gameChannel);
|
||||
let aAn;
|
||||
let verbArray = ["a", "e", "i", "o", "u"];
|
||||
if (phrase[iteration].charAt(0).toLowerCase().includes(verbArray)) {
|
||||
if (phrase[iteration].toLowerCase().charAt(0).includes(verbArray)) {
|
||||
aAn = "an ";
|
||||
} else {
|
||||
aAn = "a ";
|
||||
|
Loading…
Reference in New Issue
Block a user