mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-11 09:12:40 +03:00
chore: comments and French punctuation
This commit is contained in:
parent
f956e1abc6
commit
c62368ddad
@ -6,7 +6,7 @@ from ..lib import memory
|
||||
|
||||
|
||||
def run(params: ActionParams) -> None:
|
||||
"""Init the the number to guess"""
|
||||
"""Init the number to guess"""
|
||||
number_to_guess = randint(1, 100)
|
||||
memory.create_new_game(number_to_guess)
|
||||
leon.answer({'key': 'ready'})
|
||||
|
@ -22,7 +22,10 @@
|
||||
"Hello ! J'espère que vous allez bien !",
|
||||
"Hey ! Quoi de neuf ?!"
|
||||
],
|
||||
"default_with_name": ["Salut %owner_name%!", "Salut %owner_name%! Quoi de neuf?!"],
|
||||
"default_with_name": [
|
||||
"Salut %owner_name% !",
|
||||
"Salut %owner_name%, Quoi de neuf ?!"
|
||||
],
|
||||
"morning_good_day": [
|
||||
"Bonjour, passez une agréable journée !",
|
||||
"Bonjour, je vous souhaite une très belle journée !",
|
||||
|
@ -4,7 +4,7 @@ from ..lib import memory
|
||||
|
||||
|
||||
def run(params: ActionParams) -> None:
|
||||
"""Save name and birth date into Leon's memory"""
|
||||
"""Save name and birthdate into Leon's memory"""
|
||||
slots = params['slots']
|
||||
owner_name = slots['owner_name']['resolution']['value']
|
||||
owner_birth_date = slots['owner_birth_date']['resolution']['timex']
|
||||
|
Loading…
Reference in New Issue
Block a user