Rename method

This commit is contained in:
Tanner Collin 2021-02-18 03:11:53 +00:00
parent f15498ceef
commit be5aa5b8cc

View File

@ -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: