From 77f296998bd4feca687f7c54871d4ce500b29d29 Mon Sep 17 00:00:00 2001
From: loicbersier <loic.bersier1@gmail.com>
Date: Mon, 12 Aug 2019 18:46:33 +0200
Subject: [PATCH] added command for reasons of edit

---
 commands/fun/fakebot.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/commands/fun/fakebot.js b/commands/fun/fakebot.js
index c82e585..8c1031a 100644
--- a/commands/fun/fakebot.js
+++ b/commands/fun/fakebot.js
@@ -34,6 +34,7 @@ class fakebotCommand extends Command {
 	async exec(message, args) {
 		message.channel.createWebhook(args.member.username, args.member.displayAvatarURL())
 			.then(webhook => {
+				// Have to edit after creation otherwise the picture doesn't get applied
 				webhook.edit({
 					name: args.member.username,
 					avatar: args.member.displayAvatarURL()