Compare commits
3 Commits
930595d0d3
...
069d759686
Author | SHA1 | Date | |
---|---|---|---|
069d759686 | |||
be5aa5b8cc | |||
f15498ceef |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -103,4 +103,5 @@ ENV/
|
||||||
*.swo
|
*.swo
|
||||||
|
|
||||||
*.session
|
*.session
|
||||||
|
*.session-journal
|
||||||
settings.py
|
settings.py
|
||||||
|
|
|
@ -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