Compare commits

..

3 Commits

Author SHA1 Message Date
069d759686 Rename script 2021-02-19 00:22:58 +00:00
be5aa5b8cc Rename method 2021-02-18 03:11:53 +00:00
f15498ceef Ignore .session-journal 2021-02-18 03:11:38 +00:00
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -103,4 +103,5 @@ ENV/
*.swo
*.session
*.session-journal
settings.py

View File

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