This commit is contained in:
Daniel Odendahl Jr
2019-01-01 19:44:43 +00:00
parent ff9dd5f486
commit f906760820
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ module.exports = class DuckCommand extends Command {
async run(msg) {
try {
const { body } = await request.get('https://api.random-d.uk/random');
const { body } = await request.get('https://random-d.uk/api/v1/random');
return msg.say({ files: [body.url] });
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "98.4.0",
"version": "98.4.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {