This is my repository for my PyBot project, a Beam.pro chat bot.
Python 3 is required. I develop using Python 3.4 on Ubuntu 14.04/Ubuntu 15.04, other distros and OSes have not been tested.
websockets
: Easily installable frompip
withpip3 install websockets
.asyncio
: Only required if Python 3 version is older than 3.4. Easily installable frompip
withpip3 install asyncio
.
Once the proper modules are installed, run the setup.py
script with python3 setup.py
.
- To use autoconnect, input either the ID retrieved from
https://beam.pro/api/v1/channels/INSERT_BEAM_STREAM_OWNER_NAME_HERE
or the desired channel's name to the channel ID prompt.
Example: Going to https://beam.pro/api/v1/channels/ParadigmShift3d
returns {"id":20902,"token":"ParadigmShift3d","online":false,...}
. Use the "id"
specified (in this case, 20902).
Simply run beambot.py
with Python 3! (python3 beambot.py
)
(3.3.1) - Fixed bug in currency code where automatic currency wasn't given out unless you were already in the DB
(3.3.2b) - Fixed a bug where bot would crash when running currency commands within the command timeout
(3.3.4) - Fixed issue with !command add that had a link creating multiple versions (fixes #13 & #14)
(3.3.4) - Fixed issue with !command remove returning the usage & not removing cmd (fixes #15)
(3.3.4) - Updated setup script to accept empty input for custom currency command - now reverts command to currency name
- BreachX3 & 2Cubed & dminer78: For hanging out with me on the many, many streams that it took to get this bot in working order & always being happy to help & being super supportive
- xcentrik4: Allowing me to deploy PyBot on his streams & for putting up with my programming mutterings & random bot crashes
- alfw: Finding the fairly major bug in the !give command
-
Need more commands and features. The never-ending task!
-
Make
responses.py
use JSON/XML file to provide commands and responses (preferably JSON) -
Add ability to change default command responses (^)
-
Anything else I can't think of at this time but is still applicable