diff --git a/commands/utility/spb.js b/commands/general/spb.js similarity index 84% rename from commands/utility/spb.js rename to commands/general/spb.js index 83d61ad..bb4ad56 100644 --- a/commands/utility/spb.js +++ b/commands/general/spb.js @@ -6,7 +6,7 @@ class spbCommand extends Command { constructor() { super('spb', { aliases: ['spb'], - category: 'utility', + category: 'general', args: [ { id: 'link', @@ -30,10 +30,10 @@ class spbCommand extends Command { fetch(link) .then(res => { - const dest = fs.createWriteStream('./spb.png'); + const dest = fs.createWriteStream('./img/spb.png'); res.body.pipe(dest); dest.on('finish', () => { - return message.channel.send({files: ['./spb.png']}); + return message.channel.send({files: ['./img/spb.png']}); }); }); }