This commit is contained in:
Dragon Fire
2021-01-03 10:09:23 -05:00
parent 34cd6d65fa
commit bc1e035467
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = class BoredomCommand extends Command {
async run(msg) {
try {
const { body } = await request.get('https://www.boredapi.com/api/activity/');
return msg.say(`${body.activity} (${body.type}})`);
return msg.say(`${body.activity} (${body.type})`);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
}