Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerize #6

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Dockerize #6

wants to merge 6 commits into from

Conversation

ThisIsntTheWay
Copy link

This PR dockerizes the bot.
Not only will this make the bot more portable, it will also ensure that the bot restarts in case of mishaps/reboots.

Additionally, some potentially major changes have been made:

  • Added Kotoba user ID, channel ID to env var.
    • I feel like hard coding such things is not the best thing to do.
  • Added warning if DB is missing.
  • Moved source code to /src, renamed entrypoint to main.py.
    • This is just to make everything a bit more organized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant