Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bowarc/wormtail_bot
A multithreaded twitch bot
https://github.com/bowarc/wormtail_bot
Last synced: 11 days ago
JSON representation
A multithreaded twitch bot
- Host: GitHub
- URL: https://github.com/bowarc/wormtail_bot
- Owner: Bowarc
- Created: 2022-04-21T16:31:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T21:22:59.000Z (11 months ago)
- Last Synced: 2024-12-31T07:31:04.011Z (11 days ago)
- Language: Rust
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A SECURITY ISSUE HAS BEEN FOUND IN THE DEPENDENCIES OF THIS PROJECT, I'LL UPDATE IT LATER. IF YOU SEE THIS MESSAGE, I DIDDN'T UPDATED IT YET.
# WormtailBot
A multithreaded twitch botNot done yet, i've been working on this for a couple hours to understand how the crate works with threads.
i'll maybe make it so the controller can turn on / off instances of the bot (for multiple channels)Atm, the bot works, you can control it by typing commands in the console or in twitch chat
Update:
restructured the code and worked a bit on a app system that manage both the client side controller and the bot
could be upgrded to manage more bots with some cd-like command to switch bot and manage what bot can output datacontroller's commands: (in console)
quit / exit to kill the bot and the app
ban user[string, mendatory] reason[string, optional]
unban user[string, mendatory]
say message[string, mendatory]bot's command: (in twitch chat) bot prefix is *
uptime // tells the uptime of the channel
say // repeat the next words
disconnect //disconnects from the twitch chat and closes the app
help // send a help message NOT DONE YETand whenever someone says "gaming" it responds to it by a "gaming"
Todo:
clean a bit the raw api callsHow to use:
create a file named "t.ron" in /config, follow the "t.ron.example"