Create timezone roles which updates with current time in that timezone. Use this bot to make timezone of a user visible in their profile.
Time will be updated only every 30 minutes due to Discord rate-limiting.
NB: This bot is not publicly hosted. If you would like to use it, please feel free to host it yourself by following the instructions below.
/create_role timezone
- Create a timezone role with given timezone code or the offset
- Install dependencies with
poetry install
If you're getting errors with distutils
package on ubuntu/debian, try this:
sudo apt-get install python3.10-distutils
-
Create a .env file and add your secret token
BOT_TOKEN="YOUR_TOKEN_HERE"
-
Run the bot with
poetry shell
python bot.py
The interactions-tasks repo is copied from https://github.com/Catalyst4222/interactions-tasks