mirror of
https://github.com/driftywinds/discord-timestamp-bot.git
synced 2025-12-19 06:53:33 +00:00
75f70084d935eccb7fd2260829a3871a2d6d18cd
Dynamic Discord Timestamp bot for Discord - Generate and use Discord's dynamic timestamps
Says what it does, you can try it out here - https://003274.xyz/discord-timestamps
Also available on Docker Hub - driftywinds/discord-timestamp-bot:latest
How to use: -
- Download the
compose.ymlandexample.envfiles from the repo here. - Go to Discord Developer Portal and register a new application. Go to the
Installationsection and enable these permissions on top ofapplications.commands=
Send MessagesUse Slash CommandsSend Links
- Go to the
Botsection and enable all 3Privileged Gateway Intents. - Click on
Reset Tokenand copy the new token generated. - Rename the
example.envfile from the repo to.envand replace the value ofDISCORD_BOT_TOKENwith the one you just copied. - Run
docker compose up -d. - Go back to the
Installationsection and copy theInstall Linkto install your bot as an app or into a server.
You can check logs live with this command: -
docker compose logs -f
For dev testing: -
- have python3 installed on your machine
- clone the repo
- go into the directory and run these commands: -
python3 -m venv .venv
source .venv/bin/activate
pip install --no-cache-dir -r requirements.txt
- configure
.envvariables. - then run
python3 bot.py
Languages
Python
95.8%
Dockerfile
4.2%