1
0
Fork 0
A simple Cards Against Humanity bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shikhin 5b63582c59 Make tea_cah authentic to the cards against IRC tradition. 3 years ago
.gitignore Read config from a configuration file 5 years ago
CC0 Documentation 4 years ago
README.md Thanks Shikhin 4 years ago
bot.conf.example Start integrating gameloop.py into the bot 4 years ago
botcmd.py Allow multi-word names for bots 3 years ago
cardcast_api.py Remove cardcast namespace in favour of ahti namespace 3 years ago
channel.py Add support for closing the channel 5 years ago
constants.py Add API.set_nick, .set_channels, .log 5 years ago
cron.py Add ping timeouting 5 years ago
dump_deck.py First commit (of the CaH bot) 4 years ago
gameloop.py Make tea_cah authentic to the cards against IRC tradition. 3 years ago
ircbot.py Add irc.quit() 5 years ago
line_handling.py Only pass bytestrings (and not bytearrays) to user code 5 years ago
random_deck.py First commit (of the CaH bot) 4 years ago

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.