Skip to content

Commit

Permalink
add cmd disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ChauhanShivam9582 committed Mar 28, 2023
1 parent fe16c73 commit 7694200
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,14 @@ const startSock = async () => {
if (tempId.length > 0) {
switch (msgData.cmd) {
case "add":
await groupManage.add(
sock,
chatId,
[tempId],
senderId,
msg
);
await sock.sendMessage(chatId,{text:"Command disabled"},{quoted:msg});
// await groupManage.add(
// sock,
// chatId,
// [tempId],
// senderId,
// msg
// );
break;
case "kick":
await groupManage.remove(
Expand Down

0 comments on commit 7694200

Please sign in to comment.