Giter Site home page Giter Site logo

sir-govan-discord's Introduction

GOVAN IS BACK (AGAIN)

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.

Functionality

No context

One in 100 messages that are less than 261 characters are put in the #no-context channel. You'll also get a randomized role!

Reactions

Hall of fame

If any one message gets 3 ๐Ÿ“Œ reactions from people who are not the author, it enters the hall of fame for posterity.

Other halls

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.

The twitterverse

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.

Never sunny in here

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.

This is the dark souls of features

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.

Commands

!color [hex or 'random']

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.

!icon [emoji or url]

Changes your role icon if in a server that allows that to happen, and if you're not trying to trick the bot

!role

Gives out the number and the name of the current randomized role. Collect them all!

!roll [sides]

Rolls a D[sides] or a D20 if no sides are given. Warning: Highly addictive

!ping

Pong!

MORE

There's way more commands but they're for admin control, or just not that interesting to put here.

Building

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.

FAQ

Why did you make this?

This is the spiritual successor to my Steam bot Sir Govan. Just for fun and no profit.

Can you add <IDEA>?

If I like it and you're not rude, maybe.

Why is there no !help?

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.

I hate this

That's not a question.

I hate this?

The fact I've made this joke in every FAQ, or this bot?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.