CardsAgainstHumanity
— CaH in IRC
IRC based Cards Against Humanity clone. Requires “black card” messages to be
placed in file named questions.txt
in the data dir, and “white card” messages
in a file named answers.txt
.
Commands
-
.joinGame
If the game hasn’t started yet, join the lobby
-
.ready
The game will start when all players are ready; this indicates a player is
ready
-
.pick
<card number> [<card number>] ...
If the player is not the card czar, play one or more cards from their hand
-
.choose
<card number>
If a player is the card czar, choose the winning card number
Class Reference
-
class
pyircbot.modules.CardsAgainstHumanity.
CardsAgainstHumanity
(bot, moduleName)[source]
Bases: pyircbot.modulebase.ModuleBase
-
ondisable
()[source]
-
scramble
(args, prefix, trailing)[source]
-
class
pyircbot.modules.CardsAgainstHumanity.
cardsGame
(master, channel, whites, blacks)[source]
Bases: object
-
allDrawn
()[source]
-
announceCzar
()[source]
-
checkBounds
(cards)[source]
-
checkChoiceBounds
(choice)[source]
-
deal
(nick)[source]
-
join
(nick)[source]
-
kick
(nick, reason)[source]
-
makeTurn
()[source]
-
markReady
(nick)[source]
-
pickBlack
()[source]
-
pickCzar
()[source]
-
pickWhite
()[source]
-
readCard
(card)[source]
-
readChoices
()[source]
-
removeAndReplenishCards
(nick, cards)[source]
-
sendCards
(nick)[source]
-
stuff
(args, prefix, trailing)[source]