~sporiff/weeabot

A Matrix bot written in Rust
Fix strange bug with URL encoded colons
Add version feature
Dependency bump, limit feature use

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~sporiff/weeabot
read/write
git@git.sr.ht:~sporiff/weeabot

You can also use your local clone with git send-email.

#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