|
|
@ -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');
|
|
|
|
|
|
|
|
|
|
|
|