In Rust, for a challenge (and because ts was taking too much memory). This is just an administrative/silly fun bot for my private server.
One in 100 messages that are less than 261 characters are put in the #no-context channel. You'll also get a randomized role!
If any one message gets 3 ๐ reactions from people who are not the author, it enters the hall of fame for posterity.
If a message gets 3 ๐ถ reactions, it'll be sent to the hall of things with mysterious energies.
Messages with 3 ๐ฉ reactions get sent to the hall of people who just cannot spell right.
Messages with 3 of any other reaction without a use get sent to a chaos hall, where everything is chaos.
Reacting with ๐ or ๐ on a message sends it to the Infinitely Tall Cylinder Earth version of twitter and returns a picture of your message as a tweet there. ๐ only takes your text, and ๐ also takes other people's messages as extra tweets below yours.
Reacting with ๐ป on a message makes it into a short titlecard video with the music of IASIP. For the niche comedic value that brings every now and then.
Reacting with โค๏ธโ๐ฅ on a message makes it into a small dark souls themed banner image. Reacting with ๐ชฆ makes it into a banner in the style of the famous "You Died" message.
Changes your role color if any of your roles have a color. Because I can't be arsed with administration. You can also randomize your color.
Changes your role icon if in a server that allows that to happen, and if you're not trying to trick the bot
Gives out the number and the name of the current randomized role. Collect them all!
Rolls a D[sides] or a D20 if no sides are given. Warning: Highly addictive
Pong!
There's way more commands but they're for admin control, or just not that interesting to put here.
Just cargo build
:). You might need a gcc compiler to get damn Ring to work properly.
For a raspberry pi, check out these cool cross-compilers: https://github.com/tttapa/docker-arm-cross-toolchain. You could, theoretically, also use https://github.com/cross-rs/cross but I don't know how that works.
For skia-safe, use SKIA_BINARIES_URL="file://$PATH_TO_TAR" and link to a tar.gz which includes a directory skia-binaries/ with the libraries and the generated bindings.rs. To get these files you might find a way to cross-compile it or just literally spend an hour compiling them on your pi.
This is the spiritual successor to my Steam bot Sir Govan. Just for fun and no profit.
If I like it and you're not rude, maybe.
It's not needed. If you want help, just scroll up. Or read the c o d e
, this is open source, we don't do documentation.
That's not a question.
The fact I've made this joke in every FAQ, or this bot?