Updated index.js
This commit is contained in:
@ -19,7 +19,7 @@ var db = mysql.createConnection({
|
|||||||
host : 'localhost',
|
host : 'localhost',
|
||||||
port : '3306',
|
port : '3306',
|
||||||
user : 'root',
|
user : 'root',
|
||||||
password : 'dsa_bot_db',
|
password : process.env.DB_PASSWORD,
|
||||||
database : 'DSA'
|
database : 'DSA'
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -41,20 +41,4 @@ module.exports = async (message) =>{
|
|||||||
commands[command](message, args, db);
|
commands[command](message, args, db);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*//dice:
|
};
|
||||||
if(command === 'roll') roll(message, args);
|
|
||||||
|
|
||||||
//create money 'account'
|
|
||||||
if(command == 'create') create(message, args);
|
|
||||||
|
|
||||||
//add money
|
|
||||||
if(command === 'add') add(message, ags);
|
|
||||||
|
|
||||||
//remove money
|
|
||||||
if(command === 'remove') remove(message, args);
|
|
||||||
|
|
||||||
//show money
|
|
||||||
|
|
||||||
if(command === 'show') show(message, args);
|
|
||||||
*/
|
|
||||||
};
|
|
||||||
|
Reference in New Issue
Block a user