A simple clock script for your bot to show what time it is in your server | Made with discord.js and moment.js.
Requirements:
- Node.js at least v16.6.0 or newer;
- Git;
- Your Discord bot's token.
Installation:
- Open terminal and run
git clone https://github.com/favianrizqulloh/discord-clock
; - Run
npm install
; - Copy
.env.example
file to.env
and edit the.env
file according to the instructions in the file; - Run
npm start
and you're done.
Due to the API request rate limit, the clock is updated every 10 minutes, so it is not up-to-date. Read more.