Closed rivai45 closed 7 months ago
You can create on dir owner with the command object, here the example how to resend
@arugaz bang, selalu muncul "Perintah penggunaannya salah", ini salah dimana nya ya?
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
category: "owner",
aliases: ["vv", "viewo"],
cd: 3,
desc: "Anti view once",
ownerOnly: true,
example: @PREFIX@CMD
.trimEnd(),
execute: async ({ aruga, message }) => {
if (message.viewOnce) {
return aruga.sendMessage(message.from, message, {ephemeralExpiration: message.expiration });
}
throw "noCmd";
}
}
;
Just describe the feature
Can you add anti view once for private message? This feature can only be used by the number owner. Command for example .vv