forked from suhasbro24/SUHAS-MD-V8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
command.js
53 lines (37 loc) Β· 4.03 KB
/
command.js
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ¦ββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ¦ββββββββββββββββββ
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// * Project name - SUHAS- MD
// * Author - Suhas Pathsindu
// * Team - Suhas Bro
// * Version - V2
// World best and powerfull whatsapp user bot in Sri lanka
// π§¬Β©κ±α΄Κα΄κ±-α΄α΄
ΚΚ κ±α΄α΄Κκ± α΄α΄α΄Κκ±ΙͺΙ΄α΄
α΄γ
var commands = [];
function cmd(info, func) {
var data = info;
data.function = func;
if (!data.dontAddCommandList) data.dontAddCommandList = false;
if (!info.desc) info.desc = '';
if (!data.fromMe) data.fromMe = false;
if (!info.category) data.category = 'misc';
if(!info.filename) data.filename = "Not Provided";
commands.push(data);
return data;
}
module.exports = {
cmd,
AddCommand:cmd,
Function:cmd,
Module:cmd,
commands,
};