1
0
Fork 0

added command for reasons of edit

akairo
loicbersier 5 years ago
parent 551829fbba
commit 77f296998b

@ -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()

Loading…
Cancel
Save