Go to file
Joakim Hellsén 84d6f3b06e Update poetry.lock
Package operations: 0 installs, 5 updates, 0 removals

  • Updating multidict (5.2.0 -> 6.0.2)
  • Updating pyparsing (3.0.6 -> 3.0.7)
  • Updating regex (2021.11.10 -> 2022.1.18)
  • Updating sqlalchemy (1.4.29 -> 1.4.31)
  • Updating types-dateparser (1.0.12 -> 1.0.13)
2022-01-31 17:38:28 +01:00
2022-01-02 02:45:29 +01:00
2020-12-29 09:08:50 +01:00
2022-01-31 17:38:28 +01:00
2022-01-02 02:36:23 +01:00
2022-01-31 17:38:28 +01:00
2022-01-31 17:38:28 +01:00
2022-01-02 03:47:23 +01:00

Discord-reminder-bot

Theme is https://github.com/KillYoy/DiscordNight

A discord bot that allows you to set date, cron, and interval reminders.

Usage

Type /remind in a Discord server where this bot exists to get a list of slash commands you can use.

Environment Variable Description
BOT_TOKEN Discord bot token
TIMEZONE Your time zone. You want the TZ database name. (List of time zones)
SQLITE_LOCATION (Optional) Where to store the database. Defaults to /jobs.sqlite
LOG_LEVEL Can be CRITICAL, ERROR, WARNING, INFO, or DEBUG. Defaults to INFO

Installation

You have two choices, install directly on your computer or using Docker.

Install directly on your computer

  • Install latest version of git, Python and Poetry.
  • Download project from GitHub and change directory into it.
  • Open terminal in the repository folder.
  • Install requirements:
    • poetry install
  • Copy .env.example from extras and rename to .env and fill it out.
  • Start the bot with:
    • poetry run bot

Docker

  • Install latest version of Docker and Docker Compose.
  • Download project from GitHub and change directory into it.
  • Copy .env.example from extras and rename to .env and fill it out.
  • Start the bot with, press ctrl+c to stop it:
    • docker-compose up
  • Run in the background with:
    • docker-compose up -d
version: "3"
services:
  discord-reminder-bot:
    image: thelovinator/discord-reminder-bot
    env_file:
      - .env
    container_name: discord-reminder-bot
    environment:
      - BOT_TOKEN=${BOT_TOKEN}
      - TIMEZONE=${TIMEZONE}
      - LOG_LEVEL=${LOG_LEVEL}
      - SQLITE_LOCATION=/data/jobs.sqlite
    restart: unless-stopped
    volumes:
      - data_folder:/home/botuser/data/
volumes:
  data_folder:

Help

Description
Discord reminder bot
Readme GPL-3.0 1 MiB
Languages
Python 99.1%
Dockerfile 0.9%