No description
fcbeaf3114
dt is a naive datetime object, so its timezone is assumed to be the system timezone. However, the actual timezone from the API is UTC. Therefore, we need to set tzinfo before doing the calculation. See the note at https://docs.python.org/3/library/datetime.html#datetime.datetime.timestamp for more info. Ideally this would be fixed in tweepy, but there's a report of this on forums from 7 years ago so let's just fix it in BitBot. This bug found by an anonymous contributor. Thank you 😺! |
||
---|---|---|
bin | ||
docs | ||
migration | ||
modules | ||
src | ||
.gitignore | ||
.travis.yml | ||
bitbotctl | ||
bitbotd | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
setup.py | ||
VERSION |
BitBot
Python3 event-driven modular IRC bot!
Setup
Requirements
$ pip3 install --user -r requirements.txt
Config
See docs/help/config.md.
Backups
If you wish to create backups of your BitBot instance (which you should, borgbackup is a good option), I advise backing up the entirety of ~/.bitbot
- where BitBot by-default keeps config files, database files and rotated log files.
Github, Gitea and GitLab web hooks
I run BitBot as-a-service on most popular networks (willing to add more networks!) and offer github/gitea/gitlab webhook to IRC notifications for free to FOSS projects. Contact me for more information!
Contact/Support
Come say hi at #bitbot on freenode
License
This project is licensed under GNU General Public License v2.0 - see LICENSE for details.