Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MRSHABAN40 authored Feb 6, 2025
1 parent a55e3f3 commit 9345461
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions command.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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,
};
1 change: 1 addition & 0 deletions gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules

0 comments on commit 9345461

Please sign in to comment.