Coding Global Background
Coding Global

How to make this message an embed message?

Archived 4 years ago
3
1 messages
0 members
Created 4 years ago
Updated 4 years ago
Open in Discord
D
dyluxe
.exports = {
    name: "uptime",
    description: "Show the Bot's uptime",
    run: async (client, message, args, prefix) => {
        let date = new Date()
        let timestamp = date.getTime() - Math.floor(client.uptime);
        message.reply({
            content: `**I'm running since <t:${Math.floor(timestamp / 1000)}:F> and was started <t:${Math.floor(timestamp / 1000)}:R>!**`
        }).catch(() => null);
    },
};

Replies (1)