Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from mrepol742/master
Browse files Browse the repository at this point in the history
Initial Commit
  • Loading branch information
mrepol742 authored Jan 16, 2024
2 parents ea34536 + 411eb10 commit c499b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4121,7 +4121,7 @@ async function ai(api, event) {
});
}
}
} else if (testCommand(api, query2, "block --command", event.senderID, "root")) {
} else if (testCommand(api, query2, "block--command", event.senderID, "root")) {
let data = input.split(" ");
if (data.length < 2) {
sendMessage(api, event, "Houston! Unknown or missing option.\n\n Usage: block --command cmd" + "\n " + example[Math.floor(Math.random() * example.length)] + " block --command cmd");
Expand All @@ -4137,7 +4137,7 @@ async function ai(api, event) {
sendMessage(api, event, "command `" + command + "` has been blocked.");
}
}
} else if (testCommand(api, query2, "unblock --command", event.senderID, "root")) {
} else if (testCommand(api, query2, "unblock--command", event.senderID, "root")) {
let data = input.split(" ");
if (data.length < 2) {
sendMessage(api, event, "Houston! Unknown or missing option.\n\n Usage: unblock --command cmd" + "\n " + example[Math.floor(Math.random() * example.length)] + " unblock --command cmd");
Expand Down

0 comments on commit c499b85

Please sign in to comment.