Alice.Handlers.GoodMorningLanguages (alice_good_morning v1.0.6)

This handler will allow Alice to say good morning to people in different languages.

It does so only once each morning.

Link to this section Summary

Functions

All of the commands handled by this module

Deletes the entries in the state for a specific key.

Good Morning おはようございます Bonjour Alice will respond back with a good morning in a random language

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

good morning bom dia buenos días おはようございます

morning 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

Link to this section Functions

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

direct_good_morning(conn)

Good Morning おはようございます Bonjour Alice will respond back with a good morning in a random language

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

good_morning(conn)

good morning bom dia buenos días おはようございます

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

Link to this function

good_morning_language(conn)

morning language

Returns the language of the last good morning alice said

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