File size: 935 Bytes
2821330 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
module.exports.config = {
name: "prefix",
version: "1.0.1",
hasPermssion: 0,
credits: "Jonell Magallanes",
description: "no prefix",
hide: true,
usePrefix: true,
commandCategory: "No command marks needed",
usages: "...",
cooldowns: 1,
};
module.exports.handleEvent = function({ api, event, client, __GLOBAL }) {
var { threadID, messageID } = event;
if (event.body.indexOf("prefix")==0 || (event.body.indexOf("Prefix")==0 || (event.body.indexOf("Ano prefix")==0 || (event.body.indexOf("ano prefix")==0)))) {
const moment = require("moment-timezone");
var gio = moment.tz("Asia/Manila").format("HH:mm:ss || D/MM/YYYY");
api.shareContact(`My Current System Prefix is > ${global.config.PREFIX} <\nType ${global.config.PREFIX}help to see all commands\nTime: ${gio}`, api.getCurrentUserID(), event.threadID);
}
}
module.exports.run = function({ api, event, client, __GLOBAL }) {
} |