Releases: Der-Eddy/discord_bot
Updated to new breaking changes in discord.py 2.0a
The discord.py author announced to work again on it's library along with some breaking changes which I needed to take care of
in particular:
Big Python and Discord.py update
This release marks two big new milestones:
- 5a477d4 updated to Python 3.9 with distroless Debian 11 image in the Docker build
- a2370ba updated to the (most likely) last ever Discord.py version 2.0 Alpha
Unfortunately the founder of Discord.py decided to step down as maintainer and the Discord.py repository is now in read-only mode, read further about this here: https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1
given that I share a lot of the complaints against Discord I'm unsure about the future of this Discord bot in the long term
August 2021 maintenance
June 2021 maintenance
April 2021 maintenance
- replaced client.logout() with client.close() since it is now declared deprecated since discord.py 1.7
- updated to discord.py 1.7
- DISCORD_SELFASSIGNROLE and selfassignrole works again
Refactored main.py
The bot is now properly inside it's own ShinobuBot
class. This should help in the future for utilizing dpytest to finally have something like unittests for the bot.
Removed :tags command
Since using now mainly docker I'm to lazy to make the reaction sqlite database used in the :tags command work in a stateless container
Timezone is now configurable
Set it either in the config.py
via
__timezone__ = 'Europe/Berlin'
or via environment variables for Docker/Heroku:
DISCORD_TIMEZONE: 'Europe/Berlin'
Finally Docker support
Shinobu-chan now works inside Docker! I provided Dockerfile and an example for a docker-compose.yml
f191c1e added a check for the :status command if the bot is inside a docker container or not