Use modern Discord Ui stuff, fix time zones and, fix Dockerfile

Changes:
Use buttons, pagination and modals instead of old text-based stuff
Fix time zones (Closes #23)
Fix Dockerfile
Replace Discord.py with discord-py-interactions
Default time zone is now UTC instead of Europe/Stockholm

Replace
  /remind resume
  /remind pause
  /remind remove
  /remind modify
with
  /remind list
This commit is contained in:
2022-09-17 22:23:43 +02:00
parent d5bcf0169b
commit 21be6c00b3
9 changed files with 1251 additions and 982 deletions

View File

@ -38,9 +38,9 @@ COPY pyproject.toml poetry.lock README.md /home/botuser/
# Change directory to where we will run the bot.
WORKDIR /home/botuser
RUN poetry install --no-interaction --no-ansi --no-dev
RUN poetry install --no-interaction --no-ansi --only main
COPY discord_reminder_bot/main.py discord_reminder_bot/settings.py discord_reminder_bot/countdown.py /home/botuser/discord_reminder_bot/
COPY discord_reminder_bot /home/botuser/discord_reminder_bot/
VOLUME ["/home/botuser/data/"]