1
0
Fork 0
A simple Cards Against Humanity bot
Go to file
shikhin 5b63582c59 Make tea_cah authentic to the cards against IRC tradition. 2020-07-14 17:50:10 +00: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 Thanks Shikhin 2019-05-06 18:14:29 +03:00
bot.conf.example Start integrating gameloop.py into the bot 2019-05-06 12:41:12 +03:00
botcmd.py Allow multi-word names for bots 2020-06-24 04:01:58 +03:00
cardcast_api.py Remove cardcast namespace in favour of ahti namespace 2020-06-03 02:07:13 +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 Make tea_cah authentic to the cards against IRC tradition. 2020-07-14 17:50:10 +00: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.

Thanks to Shikhin for tāsh-e-ākramak.

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.