1
1
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:
louistiti 2023-05-25 08:34:20 +08:00
parent f956e1abc6
commit c62368ddad
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669
3 changed files with 6 additions and 3 deletions

View File

@ -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'})

View File

@ -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 !",

View File

@ -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']