Skip to content

Poliziano/mlem-bot

Repository files navigation

mlem-bot

A discord bot for basic task management written in nodejs that uses docker, MariaDB, discord.js.

Setup

Creating your bot

Create a new application, following the instructions on setting up a bot application, and then adding your bot to servers.

Setting up env variables

There are two environment variables required:

  • MLEM_BOT_TOKEN should be set to the bot token.
  • MLEM_BOT_APPLICATION_ID should be set to the bot application ID.

Running the bot

  • Build the nodejs application using docker build -t mlem-bot ..
  • Run both the nodejs and MariaDB containers uses docker compose up -d. It may take 30 seconds for MariaDB to initialise and the bot to connect.

Commands

There are currently 3 supported commands:

  • /todo create to create a task.
  • /todo list to list all tasks.
  • /todo complete to delete a task.

About

A discord bot for basic task management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published