Skip to content

Kruhlmann/gasbot

Repository files navigation

gasbot

A feature rich twitch moderation bot made with python 3.*

Old code can be found at the ruwbot repository

Questions, concerns and suggestions

If you want to contact me the best way is to join my discord server. You do not need to download anything as there is a web application. Join the discord. You can also message me Twitch or send me an e-mail.

Installation

Download the source code and place it somewhere on your computer. Make sure you have python 3 installed and added to your PATH variable. The bot has to be configured via the config.py and password.py files in order to run. To run the bot simply run the run.bat file (if you encounter problems try running the file as administrator)

Modules

Displays the emote Kappa every time it recieves input from the channel.

Allows users to play sounds on the broadcasters computer for a cost of points set by the broadcaster in the configuration file

Enables the users to display their own points with !points command, gamble their points with !roulette and allows the author and the broadcaster to gift points to users with the !givepoints x user command

Allows users to join missions created by the broadcaster. The winner of a specific missions is awarded with points. The broadcaster starts a mission with !startmission missionname

Gives users 1 point every x second where x is decided by the broadcaster in the configurations file

Displays how long the bot has been running for when recieving the !uptime command

Allows the broadcaster to specify simple custom commands with a trigger command and a bot response in the custom/commands.py file

Users can challenge eachother to duels using the !duel user amount command and accept or decline the duel with !accept and !decline The winner of each duel is announced instantly and is random.

Allows users to time eachother out for a specified amount of time and a cost of points. Users can be protected such as mods and the broadcaster in the configuration file. These users can't be time out regardless but users who attempt to time them out won't be charged points if they exist in the protected users list. The command to buy a time out is !buytimeout target_user

Using the !showemote emote command will display the specified emote on the broadcasters stream if they are running the Emote Displayer program.

Allows users to request songs to be played during the stream. Songs will be queued up on a come-first serve-first basis. To request a song a user can call the command !songrequest or !sr with parameters being a youtube.com URL, youtu.be URL, a YouTube video ID or a YouTube query. Songs are played through the player thread.

Picks a random song from the pleblist.txt file and adds it to the queue.

Missions

Missions can be activated by the broadcaster and the user(s) to fulfill the requirements for the mission will be awarded points upon ending.

The bot will announce a random emote in the chat. The first user to type the same emote in the chat wins.

The first user to win against the bot in !rps wins the prize.

About

A feature rich twitch moderation bot made with python 3.*

Resources

Stars

Watchers

Forks

Packages

No packages published