mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 16:28:26 +00:00
Update messageUpdate.js
This commit is contained in:
parent
45eea34eb4
commit
f8ab9beb7f
1 changed files with 6 additions and 2 deletions
|
|
@ -36,9 +36,13 @@ module.exports = async (client, oldMessage, newMessage) => {
|
|||
{
|
||||
name: `> Timestamp`,
|
||||
value: `- <t:${Math.floor(newMessage.createdTimestamp / 1000)}:R>`
|
||||
}
|
||||
},
|
||||
{
|
||||
name: `> Jump to the Message`,
|
||||
value: `https://discordapp.com/channels/${newMessage.guild.id}/${newMessage.channel.id}/${newMessage.id}`
|
||||
}
|
||||
]
|
||||
}, logsChannel).catch(() => { })
|
||||
}
|
||||
catch { }
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue