mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-13 18:34:54 -05:00
ops i added a ,
This commit is contained in:
parent
f54bfa8d84
commit
8548f0e9c6
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@ module.exports = {
|
|||
trusted: 0,
|
||||
execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) {
|
||||
const duration = moment.duration(Math.floor(performance.now()))
|
||||
const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()}, minutes, ${duration.seconds()} seconds` // moment please add duration.format()
|
||||
const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()} minutes, ${duration.seconds()} seconds` // moment please add duration.format()
|
||||
bot.tellraw(selector, [{ text: 'The bot\'s uptime is ', color: 'white' }, { text: time, color: 'green' }])
|
||||
},
|
||||
discordExecute (bot, username, sender, prefix, args, channeldc, message, config) {
|
||||
const duration = moment.duration(Math.floor(performance.now()))
|
||||
const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()}, minutes, ${duration.seconds()} seconds` // moment please add duration.format()
|
||||
const time = `${duration.days()} days, ${duration.hours()} hours, ${duration.minutes()} minutes, ${duration.seconds()} seconds` // moment please add duration.format()
|
||||
const Embed = new EmbedBuilder()
|
||||
.setColor(config.discord.embedsColors.normal)
|
||||
.setTitle('Bot\'s Uptime')
|
||||
|
|
Loading…
Reference in a new issue