Skip to content

R2D2WM is a Rust-based Discord bot designed to schedule and dispatch cron tasks. Built to meet the simple needs of a school-related Discord, I may or may not continue to work on it the future.

License

Notifications You must be signed in to change notification settings

yanek/r2d2wm-bot

Repository files navigation

🤖 R2D2WM

This Rust-based bot is designed to help manage and dispatch cron tasks within a Discord server, making it perfect for automating repetitive tasks. Originally developed to assist with reminders in school related Discord server.

Important

This crate is in very early developpement, and things may be incomplete, break at any moment, or just be poorly (if at all) documented. Clone at your own risk.

Installation

This bot being self-hosted only, you'll need to create an application on the Discord Developper Portal. Look it up, it's really not complicated.

Then you can copy your bot's token somewhere safe -- and I mean really safe, it's supposed to stay secret. You'll have to put it in your configuration file later, so everything can work.

1a. In a docker container

An image is available on Docker Hub.

# Example docker-compose.yml:
services:
  r2d2wm:
    image: yanekosaurus/r2d2wm
    container_name: r2d2wm
    hostname: r2d2wm
    restart: unless-stopped
    volumes:
      - /home/user/r2d2wm-bot/config:/config
    environment:
      R2D2WM_CONFIG_PATH: "/config"

1b. Build from sources

# Clone the repo
$ git clone https://github.com/yanek/r2d2wm-bot.git

# Change the current directory
$ cd r2d2wm-bot

# Build and run
$ cargo build --release
$ cargo run

2. Configuration

# TODO

About

R2D2WM is a Rust-based Discord bot designed to schedule and dispatch cron tasks. Built to meet the simple needs of a school-related Discord, I may or may not continue to work on it the future.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published