File size: 1,302 Bytes
90d7db9
 
dba2807
 
90d7db9
 
 
 
 
 
 
 
cf1f9e3
90d7db9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
module.exports = async (senderNumber, prefix, command, setReply) => {
    global.mess = {
    wait: 'processing a sec....',
    nsfw: 'nsfw is prohibited in this group',
    success: 'successful',
    limit: `[❕] your limit has run out\nif you want unlimited limit, you can buy premium. for only 10 thousand, you can get an unlimited limit for 3 months.\nplease type ${prefix}owner to find out.`,
    only: {
        prem: 'this feature is only for premium users',
        vip: 'this feature is for vip users only πŸ”₯πŸ’€\ncontact 2347041039367 to buy',
        group: 'this feature can only be accessed in groups',
        private: 'this feature can only be accessed in private chat',
        ownerB: 'command for bot user only',
        owner: 'command for sudo users only',
        admin: 'this feature can only be accessed by admins !!!',
        reseller: 'command can only be used by registered resellers',
        Badmin: 'make bot admin to be able to use this feature'
    }
};
    const fs = require("fs");
    const chalk = require("chalk");
    const file = require.resolve(__filename);
    fs.watchFile(file, () => {
        fs.unwatchFile(file);
        console.log(chalk.redBright(`Reloading file: ${__filename}`));
        delete require.cache[file];
        require(file);
    });
};