From 6d26e47105d4d55ab54d9b35e71948506c926c6b Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 28 Nov 2017 17:19:26 +0000 Subject: [PATCH] Default functions --- commands/avatar-edit/3000-years.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/avatar-edit/3000-years.js b/commands/avatar-edit/3000-years.js index 3244df24..846e6dfd 100644 --- a/commands/avatar-edit/3000-years.js +++ b/commands/avatar-edit/3000-years.js @@ -21,7 +21,7 @@ module.exports = class YearsCommand extends Command { key: 'user', prompt: 'Which user would you like to edit the avatar of?', type: 'user', - default: '' + default: msg => msg.author } ] }); diff --git a/package.json b/package.json index 69fade2f..6d7b4da9 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "common-tags": "^1.5.1", "custom-translate": "^2.1.1", "discord.js": "github:hydrabolt/discord.js", - "discord.js-commando": "github:gawdl3y/discord.js-commando", + "discord.js-commando": "github:dragonfire535/discord.js-commando#default-functions", "erlpack": "github:discordapp/erlpack", "node-opus": "^0.2.7", "snekfetch": "^3.5.8",