alice_roller v0.3.1 Alice.Handlers.Roller
Link to this section Summary
Functions
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
roll 3d6kh2+1
- rolls 3d6s, keeps the highest 2 and adds 1
All of the routes handled by this module
Link to this section Functions
commands()
All of the commands handled by this module
delete_state(conn, key)
Deletes the entries in the state for a specific key
.
generate_roll_response(conn)
get_state(conn, key, default \\ nil)
Get the state from an Alice.Conn struct, namespaced to this module
match_commands(conn)
Match all commands in this module
match_routes(conn)
Match all routes in this module
put_state(conn, key, value)
Update the state of an Alice.Conn struct, namespaced to this module
roll(conn)
roll 3d6kh2+1
- rolls 3d6s, keeps the highest 2 and adds 1
routes()
All of the routes handled by this module