Skip to content

Commit

Permalink
Added message id to feeds.messageDeleted (#49)
Browse files Browse the repository at this point in the history
* Added message id to feeds.messageDeleted

* Moved message id to just before content in messageDeleted

* Added closing tags and moved id after content
  • Loading branch information
nihaals authored and macdja38 committed Dec 3, 2017
1 parent 598f148 commit 1ed26e5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/moderationV2.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,13 @@ class moderationV2 {
}
fields.push(field)
}
if (message.id) {
fields.push({
title: "ID",
value: message.id,
short: true,
})
}
//if their are attachments log them.
if (message.attachments) {
for (let i in message.attachments) {
Expand Down

0 comments on commit 1ed26e5

Please sign in to comment.