diff --git a/blueocean.py b/blueocean.py index c2f05f9..34cbd3f 100644 --- a/blueocean.py +++ b/blueocean.py @@ -16,7 +16,7 @@ data = '' data_time = 0 @bot.on(events.NewMessage) -async def echo_all(event): +async def new_message(event): global data, data_time if not event.raw_text: