forked from Supositware/Haha-Yes
add reason for delete
This commit is contained in:
parent
fd14f3b55f
commit
3021c249f6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class messageListener extends Listener {
|
|||
.setDescription(censoredMessage);
|
||||
|
||||
message.channel.send(Embed);
|
||||
return message.delete();
|
||||
return message.delete({reason: `Deleted message: ${message.content}`});
|
||||
}
|
||||
|
||||
// auto responses
|
||||
|
|
Loading…
Reference in a new issue