mirror of
https://github.com/JakeStanger/Discord-Friend-Timezones.git
synced 2026-07-11 09:14:07 +01:00
A small Discord timezones bot for keeping track of other users' timezones and local times.
- Python 100%
|
|
||
|---|---|---|
| .gitignore | ||
| bot.py | ||
| LICENSE | ||
| readme.md | ||
| requirements.txt | ||
Discord Friend Timezones
A small Discord timezones bot for keeping track of other users' timezones and local times.
You can invite the bot here or host it yourself.
Features
- Each user sets their timezone with
--tzset <timezone>. This supports fuzzy matching, so you can set it toEurope/Londonwith--tzset londonfor example. - View users' timezones with
--tzget <list of mentions>. - View users' local times with
--time <list of mentions>.
Self-Hosting
You need at least Python 3.6 installed. It is also recommended to use a virtualenv.
- Clone this repo
- Install requirements using
pip install -r requirements.txt - Create a file called
settings.jsoninside the cloned directory, this should contain the following:
{
"token": "your bot token",
"prefix": "--",
"database": "sqlite:///database.db"
}
These are example values, any prefix or database URI can be used.
- Run
python bot.py
