A simple Cards Against Humanity bot
Go to file
Juhani Krekelä 3d29e2c994 Do +v/-v 2019-05-06 16:00:55 +03:00
.gitignore Read config from a configuration file 2018-01-03 18:08:24 +02:00
CC0 Documentation 2019-05-06 11:12:55 +03:00
README.md Add note about dump_deck.py and random_deck.py 2019-05-06 11:14:39 +03:00
bot.conf.example Start integrating gameloop.py into the bot 2019-05-06 12:41:12 +03:00
botcmd.py Do +v/-v 2019-05-06 16:00:55 +03:00
cardcast_api.py First commit (of the CaH bot) 2019-05-05 23:39:50 +03:00
channel.py Add support for closing the channel 2018-03-30 23:14:24 +03:00
constants.py Add API.set_nick, .set_channels, .log 2018-02-25 21:03:05 +02:00
cron.py Add ping timeouting 2017-12-10 17:43:39 +02:00
dump_deck.py First commit (of the CaH bot) 2019-05-05 23:39:50 +03:00
gameloop.py Do +v/-v 2019-05-06 16:00:55 +03:00
ircbot.py Add irc.quit() 2018-08-19 19:52:42 +03:00
line_handling.py Only pass bytestrings (and not bytearrays) to user code 2018-06-14 10:50:30 +03:00
random_deck.py First commit (of the CaH bot) 2019-05-05 23:39:50 +03:00

README.md

TeA CaH

TeA is a simple Cards Against Humanity bot for IRC. It is based on o3-base.

Name

For the time being it stands for tāsh-e-ākramak 'aggressive cards', but if a better Hindi / Urdu name cames along, I'll change it. A previous CAH bot in our channel was called CardsAgainstIRC, shortened CaI. I always read it as "chai", so I thought naming this one in Hindi but having it shorted to "tea" made sense.

Using

Copy bot.conf.example to bot.conf and run python3 ircbot.py. You can also test the game logic by doing python3 gameloop.py directly.

dump_deck.py and random_deck.py are stand-alone toola for interacting with Cardcast API. They use cardcast_api.py to do the requests.

License

Everything in this repo is under CC0.