delete the message, not the channel

This commit is contained in:
loicbersier 2019-08-12 13:53:37 +02:00
parent 7fb3308cf1
commit 8166a16a17

View file

@ -50,7 +50,7 @@ class fakebotCommand extends Command {
name: args.member.username,
avatar: args.member.displayAvatarURL()
});
message.channel.delete();
message.delete();
return webhook.send(args.message);
});
}