Update what-anime, fix prompts in meme-gen

This commit is contained in:
Daniel Odendahl Jr
2019-02-08 23:37:41 +00:00
parent f608983300
commit f17f6bbe0f
3 changed files with 4 additions and 6 deletions
+1 -3
View File
@@ -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
});
+2 -2
View File
@@ -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()
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "101.0.1",
"version": "101.0.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {