Skip to content

Commit

Permalink
Update Commands.js
Browse files Browse the repository at this point in the history
  • Loading branch information
withinJoel authored Oct 16, 2024
1 parent cb87e30 commit ebbc917
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modules/Commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ function runCmd(command, inMemory, fromInput) {
} else if (commandName === "truthordare") {
truthOrDare();
} else if (commandName.includes("whatis:")) {
const data = commandName.trim().replace(/^whatis:\b\s*/i, '');
whatIsCommand(data);
whatIsCommand(commandName);
} else if (commandName === "rolldice") {
rollDice();
} else if (commandName === "headsortails") {
Expand Down

0 comments on commit ebbc917

Please sign in to comment.