Skip to content

Huijaaja42/reminder-bot

Repository files navigation

Reminder Bot

A simple Discord bot for scheduling reminders.

Demo Server

You can test the bot here.

Running the bot

Permissions

The bot needs to have permissions to send messages as well as both bot and applications.commands scopes.

Config

token is your Discord bot token.

scheduleInterval will determine how often the bot checks for reminders due to be sent. By default, this is set to 60 seconds.

Steps

  1. Create a Discord bot in the Discord Developer Portal

  2. Make a copy of config.json.example and fill in your bot token.

  3. Build the Docker image with docker build --tag reminder-bot .

  4. Create a Docker volume to persist data docker volume create --name reminder-data

  5. Run the Docker image with docker run -d -v reminder-data:/usr/src/reminder-bot/objectbox --restart always --name reminder-bot reminder-bot

  6. Grab the invite link from stdout or get it below.

https://discord.com/api/oauth2/authorize?client_id={BOT ID}&permissions=2048&scope=bot%20applications.commands

(Replace {BOT ID} with your Bot ID)

Time Formats

All inputs must be UTC, but outputs will be formated by Discord to your local time.

Explicit Format

Any common format should work, excluding those that are ambiguous, i.e. 12/10/2022 will not work.

Prefer

yyyy-mm-dd [hh:mm:ss]

(Without a time it will default to midnight.)

Time Zone

Dates will be interpreted as UTC by default.

You can specify the time zone at the end of the time with the following format.

-hhmm or +hhmm

e.g. +0200 would be UTC + 2

Relative Format

You can also use the following format to specify a time in relation to the current time.

in x <s|min|h|d|w|mon|y>

s = seconds

min = minutes

h = hours

d = days

w = weeks

mon = months

y = years

(You can also write seconds, minutes etc., that will still match the correct one.)

Built With

License

This project is licensed under the GNU GPLv3 License - see the LICENSE file for details.

About

Discord bot for scheduling reminders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages