Sign inSign up

driftywinds/discord-timestamp-bot

By driftywinds

Updated 12 months ago

A Discord bot that generates Discord's dynamic timestamps

Image
Developer tools
0

622

driftywinds/discord-timestamp-bot repository overview

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

Pulls

Also available on Docker Hub - driftywinds/discord-timestamp-bot:latest

How to use: -
  1. Download the compose.yml and example.env files from the repo here.
  2. Go to Discord Developer Portal and register a new application. Go to the Installation section and enable these permissions on top of applications.commands =
  • Send Messages
  • Use Slash Commands
  • Send Links
  1. Go to the Bot section and enable all 3 Privileged Gateway Intents.
  2. Click on Reset Token and copy the new token generated.
  3. Rename the example.env file from the repo to .env and replace the value of DISCORD_BOT_TOKEN with the one you just copied.
  4. Run docker compose up -d.
  5. Go back to the Installation section and copy the Install Link to 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 .env variables.
  • then run python3 bot.py

Tag summary

Content type

Image

Digest

sha256:08d7a16a0

Size

55.3 MB

Last updated

12 months ago

docker pull driftywinds/discord-timestamp-bot