This commit is contained in:
Dragon Fire
2024-03-21 20:54:05 -04:00
parent 21c2efd806
commit 706ba4c179
+1 -1
View File
@@ -25,7 +25,7 @@ module.exports = class ChuckNorrisCommand extends Command {
}); });
} }
async run(msg, { name }) { async run(msg) {
try { try {
const { body } = await request.get('https://api.chucknorris.io/jokes/random'); const { body } = await request.get('https://api.chucknorris.io/jokes/random');
return msg.say(body.value); return msg.say(body.value);