Crates.io | mostlybot |
lib.rs | mostlybot |
version | 0.3.0 |
source | src |
created_at | 2024-10-09 17:57:46.23618 |
updated_at | 2024-10-29 20:56:11.993084 |
description | mostlybot is the twitch bot that I use for my stream on twitch |
homepage | |
repository | https://github.com/mostlymaxi/twitch-interactive-things/tree/main/twitch/bot |
max_upload_size | |
id | 1402866 |
size | 134,064 |
The mostlybot is the twitch bot that I use for my stream @ https://twitch.tv/mostlymaxi. My goal for this bot is to make as easy as possible to contribute to as a viewer!
so...
The easiest way to contribute is by adding a command to the bot! But any and all contributions to the overall improvement of the code base are encouraged <3.
Creating a command takes a few simple steps:
make a fork of the main branch of this repo
create a module (file) at twitch/bot/src/commands/<command_name>.rs
add this module to src/commands/mod.rs (more details at top of file)
create a struct for your command and implement the ChatCommand
trait (see ping.rs for a simple example)
document. document. document. your goal is to CONVINCE me to add this command, don't be lazy on communication