Use Zulip to control the world.
This robot implements commands that the user can trigger on the Zulip chat.
Those commands do things such as:
- printing posts, pics, gifs from Reddit
- playing music from Reddit
- playing music from Youtube
- making jokes
- giving you a weather report
pip3 install -r requirements.txt
- cvlc: audio/video player
- pulseaudio: manages volume and audio outputs
Add the following files in this directory:
- zuliprc, used by Zulip's client. Create a section called zulipbot. See Zulip documentation
- praw.ini, used by Reddit's client. See praw documentation
- msg_filter.json, used to filter Zulip messages the bot should respond to. See example below
{
"type": "stream",
"display_recipient": "MyChannel"
}
./main.py
Then, in Zulip, type:
!help
Thanks to my buddy T3lchar for letting me steal his bot: https://github.com/T3lchar/zulip_bot
Q: The command !weather fails with an SSL error, what's wrong?
A: Take a look at this issue and execute ./bin/install_certifi.py