IS2511 / offline-frog

Simple discord bot for trigger-based notification from twitch chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Offline-frog

Offline-frog is a simple discord bot for trigger-based notification from twitch chat. The bot operates entirely in DMs, no privileged intents required.

Main components:

  • serenity for discord
  • irc for twitch chat
  • sqlx (SQLite) for user settings storage

Usage (public instance)

Offline Frog
Offline Frog avatar

If you don't want to join my server you can add the bot to yours. The bot will have no permissions and will not be able to do anything on your server. It's there so users of your server can DM it.

After you have a way to DM the bot, send !help to get started.

Usage (self-hosted)

  1. Create a discord bot and invite it to your server: https://discordapp.com/developers/applications/
  2. Create a .env file and fill it with the following mandatory variables:
DISCORD_TOKEN=your_discord_token
DATABASE_URL=your_url_here # example: `sqlite:local.sqlite?mode=rwc`
  1. Build with cargo build --release
  2. Run with ./target/release/offline-frog

About

Simple discord bot for trigger-based notification from twitch chat


Languages

Language:Rust 100.0%