def on_event(event, _):
if event.data['event_type'] == 1:
msg = event.message.content_source
if msg.startswith('tb '):
send = ''
if msg == 'tb alive':
send = "No need to worry, I'm alive."
elif msg == 'tb coffee':
send = 'Brewing a cup of '+random.choice(['black','latte','cappucino','americano','espresso','doppio','cortado','red eye','galão','lungo','macchiato','mocha','ristretto','flat white','affogato','café au lait','iced','iced espresso','cold brew','frappuccino','nitro','mazagran'])+' coffee.'