diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,10 +11,13 @@ async def on_tab(): def main(): + messages = ["hej", "vad", "är", "klockan"] + tele.messages = messages + tele.redraw = cursed.redraw with tele.client: tele.client.start() with cursed.Console() as c: - tele.client.loop.run_until_complete(cursed.start(c, on_str, on_tab)) + tele.client.loop.run_until_complete(cursed.start(c, on_str, on_tab, messages)) if __name__=="__main__": |
