Update homeskills.py
Browse files- homeskills.py +3 -1
homeskills.py
CHANGED
@@ -46,8 +46,10 @@ async def homeRome():
|
|
46 |
return contextChat
|
47 |
|
48 |
async def homeEsco():
|
49 |
-
|
|
|
50 |
welcomeUser = app_user.identifier
|
|
|
51 |
welcomeUserArray = welcomeUser.split('@')
|
52 |
welcomeUserStr = welcomeUserArray[0].replace('.',' ')
|
53 |
await cl.Message(f"> Bonjour {welcomeUserStr}").send()
|
|
|
46 |
return contextChat
|
47 |
|
48 |
async def homeEsco():
|
49 |
+
app_user = cl.user_session.get("user")
|
50 |
+
|
51 |
welcomeUser = app_user.identifier
|
52 |
+
|
53 |
welcomeUserArray = welcomeUser.split('@')
|
54 |
welcomeUserStr = welcomeUserArray[0].replace('.',' ')
|
55 |
await cl.Message(f"> Bonjour {welcomeUserStr}").send()
|