Code Reformatting

pull/11/head
Trivernis 6 years ago
parent 2400429b72
commit 98b809ba66

@ -54,7 +54,8 @@ function registerCommands() {
cmd.createGlobalCommand(prefix + 'addpresence', (msg, argv, args) => { cmd.createGlobalCommand(prefix + 'addpresence', (msg, argv, args) => {
let p = args.join(' '); let p = args.join(' ');
presences.push(p); presences.push(p);
fs.writeFile('./data/presences.txt', presences.join('\n'), (err) => {}); fs.writeFile('./data/presences.txt', presences.join('\n'), (err) => {
});
return `Added Presence \`${p}\``; return `Added Presence \`${p}\``;
}, [], "Adds a presence to the rotation.", 'owner'); }, [], "Adds a presence to the rotation.", 'owner');

@ -3,7 +3,9 @@
*/ */
const fs = require('fs'); const fs = require('fs');
function noOp() {} function noOp() {
}
let sysdataPath = './res/data/sys.json'; let sysdataPath = './res/data/sys.json';
let sysData = {}; let sysData = {};

Loading…
Cancel
Save