delete the message, not the channel
This commit is contained in:
parent
7fb3308cf1
commit
8166a16a17
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue