Rename method
This commit is contained in:
parent
f15498ceef
commit
be5aa5b8cc
|
@ -16,7 +16,7 @@ data = ''
|
||||||
data_time = 0
|
data_time = 0
|
||||||
|
|
||||||
@bot.on(events.NewMessage)
|
@bot.on(events.NewMessage)
|
||||||
async def echo_all(event):
|
async def new_message(event):
|
||||||
global data, data_time
|
global data, data_time
|
||||||
|
|
||||||
if not event.raw_text:
|
if not event.raw_text:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user