Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herxayah/leaguebackseat
This is a TwitchBot that allows viewers to Backseat the streamer.
https://github.com/herxayah/leaguebackseat
leagueoflegends twitch twitch-bot
Last synced: about 2 months ago
JSON representation
This is a TwitchBot that allows viewers to Backseat the streamer.
- Host: GitHub
- URL: https://github.com/herxayah/leaguebackseat
- Owner: HerXayah
- Created: 2023-05-13T00:22:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-08T14:00:26.000Z (over 1 year ago)
- Last Synced: 2024-12-16T18:10:04.977Z (about 2 months ago)
- Topics: leagueoflegends, twitch, twitch-bot
- Language: Java
- Homepage: https://twitter.com/PoolPartyAkali
- Size: 217 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeagueBackseat
## About
This is a TwitchBot that allows viewers to Backseat the streamer.
## How to use
- Install Java (17 preferred)
- Download the latest release from Releases
- Rename `config.json.example` to `config.json`
- Edit the `config.json` file to your liking
- Run the jar file with `java -jar LeagueBackseat.jar`
- Get roasted by your Viewers## Commands
| Command | Description |
|---------------------------------|----------------------------------------------------------------------------------------------------------------|
| `!add ` | Adds a message to the queue. |
| `!info` | Shows the message at the given timestamp. |
| `!next` | Enters next session file. |
| `!list <@user>` | Gets a number of how many Backseats the user has added in the current session. |
| `!searchall ` | Searches current Session for the given IndexID. |
| `!searchuser <@user> ` | Searches current Session for the given Keyword and User and returns every message with keyword from that user. |## config.json explanation
| JSON key and value | Description |
|-----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `"prefix" : "prefixhere"` | Here you can set your prefix, for example if you wanna use ! or - at the beginning of the command. |
| `"token" : "tokenhere"` | Here you need to enter the Twitch Token, the token can be created [here](https://twitchtokengenerator.com/). |
| `"channel" : "channelhere"` | Here you need to enter the name of your Twitch channel that you are streaming on.
|
| `"admin" : "ur id here"` | Here you have to enter the ID of your Twitch account where you stream on. You can convert your Twitch Username to Twitch Channel ID [here](https://www.streamweasels.com/tools/convert-twitch-username-to-user-id/). |
| `"secret" : "secret here"` | To receive the client secret you need to follow through this [documentation](https://dev.twitch.tv/docs/authentication/register-app/) from Twitch. |
| `"clientid" : "client id here"` | To receive the client id you need to follow through this [documentation](https://dev.twitch.tv/docs/authentication/register-app/) from Twitch. |
| `"obsscene" : "name here"` | Here you will have to enter the name of your scene in OBS. |
| `"refreshtoken" : "refresh token here"` | Your refresh token will also be generated when you completed creating your token [here](https://twitchtokengenerator.com/). |## TODO
- [X] Add a way for viewers to queue the messages from the textfile
- [X] Save in TxT and JSON to allow for the above
- [ ] GUI? (prob not)
- [X] Clear file on command
- [X] Make multiple files possible on the same day
- [X] Folder for each day## Credits
- [this one guy there that helped me test](https://www.discordapp.com/users/294910497499774976)
- [DrPanger for the Idea](https://www.twitch.tv/drpanger)
- [Luzey for the help](https://github.com/vergessene)
- [Anno for more help regarding Threaded and moar](https://twitter.com/annnoo96)