alice_against_humanity v0.1.3 Alice.Handlers.AgainstHumanity

This handler will allow Alice to play pairs of cards from the card game Cards Against Humanity.

Link to this section Summary

Functions

cah choice - Pull a random Black and 3 White cards

cah - Pull a random Black and White card

All of the commands handled by this module

Deletes the entries in the state for a specific key

Get the state from an Alice.Conn struct, namespaced to this module

Match all commands in this module

Match all routes in this module

Update the state of an Alice.Conn struct, namespaced to this module

All of the routes handled by this module

Link to this section Functions

Link to this function cah_choice(conn)

cah choice - Pull a random Black and 3 White cards

Link to this function cah_random(conn)

cah - Pull a random Black and White card

All of the commands handled by this module

Link to this function delete_state(conn, key)

Deletes the entries in the state for a specific key.

Link to this function get_state(conn, key, default \\ nil)

Get the state from an Alice.Conn struct, namespaced to this module

Link to this function match_commands(conn)

Match all commands in this module

Link to this function match_routes(conn)

Match all routes in this module

Link to this function put_state(conn, key, value)

Update the state of an Alice.Conn struct, namespaced to this module

All of the routes handled by this module