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 81cf1fd commit cb87e30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Modules/Commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ function runCmd(command, inMemory, fromInput) {
window.open(url, '_blank');
} else if (commandName === "truthordare") {
truthOrDare();
} else if (commandName.includes("whatis:")) {
const data = commandName.trim().replace(/^whatis:\b\s*/i, '');
whatIsCommand(data);
} else if (commandName === "rolldice") {
rollDice();
} else if (commandName === "headsortails") {
Expand Down

0 comments on commit cb87e30

Please sign in to comment.