alice_good_morning v1.0.2 Alice.Handlers.GoodMorning

This handler will allow Alice to say good morning to people.

It does so only once each morning.

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

Say good morning to Alice in many different languages and she will respond with a “good morning” in a different language

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

Functions

commands()

All of the commands handled by this module

delete_state(conn, key)

Deletes the entries in the state for a specific key.

get_state(conn, key, default \\ nil)

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

good_morning(conn)
good_morning_with_check(conn)

Say good morning to Alice in many different languages and she will respond with a “good morning” in a different language.

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

routes()

All of the routes handled by this module