mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 14:04:38 +02:00
Fix lint
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user