Skip to content

Commit

Permalink
削除時刻のタイムスタンプを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
NXVZBGBFBEN committed Dec 21, 2022
1 parent ab63cf3 commit ac82cfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ client.on("messageUpdate", (oldMessage, newMessage) => {
});

client.on("messageDelete", message => {
embed.setTimestamp(message.createdTimestamp);
if (message.author.avatarURL()) {
embed.setAuthor({name: `${message.author.username}`, iconURL: `${message.author.avatarURL()}`});
} else if (message.author.avatarURL() === null) {
Expand Down

0 comments on commit ac82cfc

Please # to comment.