mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Fix Stuff
This commit is contained in:
@@ -48,7 +48,8 @@ module.exports = class GithubCommand extends Command {
|
||||
body.language, true);
|
||||
return msg.embed(embed);
|
||||
} catch (err) {
|
||||
return msg.say(err.message);
|
||||
if (err.message === '404 Not Found') return msg.say('Repo Not Found.');
|
||||
else throw err;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user