This commit is contained in:
Daniel Odendahl Jr
2018-05-19 11:53:28 +00:00
parent 3732030d77
commit 445b5b0e65
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class RateCommand extends Command {
args: [
{
key: 'thing',
prompt: 'Who do you want to rate?',
prompt: 'What do you want to rate?',
type: 'string',
max: 1950
}
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = class WaifuCommand extends Command {
const waifuKeys = Object.keys(waifus);
const waifu = waifuKeys[Math.floor(Math.random() * waifuKeys.length)];
try {
const waifuImage = await randomFromImgurAlbum(waifu);
const waifuImage = await randomFromImgurAlbum(waifus[waifu]);
return msg.say(waifu, { files: [waifuImage] });
} 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": "77.0.0",
"version": "77.0.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {