Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $eval
- if(typeof now1 === "undefined") {var now1 = new Date();
- }
- //Run the command as soon as you start the bot :D
- var now2
- var rightnow = new Date().getTime();
- var now = now2 - now1
- var now3 = new Date();
- var today = new Date(now3.getFullYear(), now3.getMonth(), now1.getDate(), now1.getHours(), now1.getMinutes(), now1.getSeconds()).getTime();
- var distance = rightnow - today
- let totalSeconds = (distance / 1000);
- let days = Math.floor(totalSeconds / 86400);
- let hours = Math.floor(totalSeconds / 3600); totalSeconds %= 3600;
- let minutes = Math.floor(totalSeconds / 60);
- let seconds = totalSeconds % 60;
- var uptime = "\nMy Uptime Stats!\nI Have been running for\n`" + days + "` **Days**" + " `" + hours + "` **Hrs**" + " `" + minutes + "` **Mins**" + " `" + Math.round(seconds) + "` **Seconds**"
- $halt $get(uptime)
Add Comment
Please, Sign In to add comment