new: face expression when a new unit is detected depends on the units bond level

This commit is contained in:
Simone Margaritelli
2019-10-24 13:02:50 +02:00
parent f00c861844
commit 032e183ff7
3 changed files with 7 additions and 1 deletions

View File

@ -75,6 +75,8 @@ class Voice:
self._('Hello {name}! Nice to meet you.').format(name=peer.name())])
else:
return random.choice([
self._('Yo {name}! Sup?').format(name=peer.name()),
self._('Hey {name} how are you doing?').format(name=peer.name()),
self._('Unit {name} is nearby!').format(name=peer.name())])
def on_lost_peer(self, peer):