Spaces:
Sleeping
Sleeping
mrfrank-ofc
commited on
Delete command.js
Browse files- command.js +0 -20
command.js
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
var commands = [];
|
2 |
-
|
3 |
-
function cmd(info, func) {
|
4 |
-
var data = info;
|
5 |
-
data.function = func;
|
6 |
-
if (!data.dontAddCommandList) data.dontAddCommandList = false;
|
7 |
-
if (!info.desc) info.desc = '';
|
8 |
-
if (!data.fromMe) data.fromMe = false;
|
9 |
-
if (!info.category) data.category = 'misc';
|
10 |
-
if(!info.filename) data.filename = "Not Provided";
|
11 |
-
commands.push(data);
|
12 |
-
return data;
|
13 |
-
}
|
14 |
-
module.exports = {
|
15 |
-
cmd,
|
16 |
-
AddCommand:cmd,
|
17 |
-
Function:cmd,
|
18 |
-
Module:cmd,
|
19 |
-
commands,
|
20 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|