b38912b41d
!card now accepts a comma-separated list of numbers from which it will select one randomly, with equal probability. This selection is made before the card event is sent out and is fully transparent to the rest of the game logic. |
||
---|---|---|
.gitignore | ||
CC0 | ||
README.md | ||
bot.conf.example | ||
botcmd.py | ||
cardcast_api.py | ||
channel.py | ||
constants.py | ||
cron.py | ||
dump_deck.py | ||
gameloop.py | ||
ircbot.py | ||
line_handling.py | ||
random_deck.py |
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.