From f17f6bbe0ff46e539a9433f428ea81d0ec4c2280 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 8 Feb 2019 23:37:41 +0000 Subject: [PATCH] Update what-anime, fix prompts in meme-gen --- commands/analyze/what-anime.js | 4 +--- commands/image-edit/meme-gen.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/commands/analyze/what-anime.js b/commands/analyze/what-anime.js index 90d60c3e..21f7bc45 100644 --- a/commands/analyze/what-anime.js +++ b/commands/analyze/what-anime.js @@ -73,10 +73,8 @@ module.exports = class WhatAnimeCommand extends Command { async fetchPreview(data) { try { const { body } = await request - .get('https://trace.moe/preview.php') + .get(`https://media.trace.moe/video/${data.anilist_id}/${encodeURIComponent(data.filename)}`) .query({ - anilist_id: data.anilist_id, - file: data.filename, t: data.at, token: data.tokenthumb }); diff --git a/commands/image-edit/meme-gen.js b/commands/image-edit/meme-gen.js index b90da91a..8e3467cc 100644 --- a/commands/image-edit/meme-gen.js +++ b/commands/image-edit/meme-gen.js @@ -21,14 +21,14 @@ module.exports = class MemeGenCommand extends Command { args: [ { key: 'top', - prompt: 'What should the something to believe in be?', + prompt: 'What should the top row of the meme to be?', type: 'string', max: 50, parse: top => top.toUpperCase() }, { key: 'bottom', - prompt: 'What should believing result in (e.g. sacrificing everything)?', + prompt: 'What should the bottom row of the meme to be?', type: 'string', max: 50, parse: bottom => bottom.toUpperCase() diff --git a/package.json b/package.json index 343c2497..bc77132b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "101.0.1", + "version": "101.0.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {