Sporiff / weeabot

A Matrix bot written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weeabot

A Matrix bot written in Rust

Features

This bot is designed to interact with a chatroom using a host of functions ranging from helpful language tricks and fun reactions to various triggers set up in the BotConfig.toml file.

Triggers

  • %senpai - Triggers a "Notice me senpai" message
  • %headpat - Triggers a "Nyan nyan" message
  • %kana <string> - Converts given string into Japanese kana
  • %roma <string> - Converts given string into roman characters
  • %choose <comma separated strings> - Chooses a random option from a list of strings separated by commas
  • %translate <language code> <string> - Translates given string into the language given in the language code. e.g.:
%translate fr hello

bonjour
  • %track <string>/%album <string>/artist <string> - performs a search for tracks/albums/artist on a Funkwhale instance dictated by the funkwhale_url value in botconfig.toml e.g.:
%album Styla

https://open.audio/library/albums/12060/

The bot also responds to the following words at a frequency determined in the BotConfig.toml file:

  • dab - Responds with a dabbing kaomoji
  • rip - Responds with a sad "RIP" message
  • fuck - Responds with an angry "Fuck" message

This bot makes use of the matrix_bot_api crate

About

A Matrix bot written in Rust

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%