some refactoring, fixed db stuff and help section
This commit is contained in:
parent
c9331151f8
commit
696bf5492b
4 changed files with 70 additions and 29 deletions
2
pgbot
2
pgbot
|
@ -41,7 +41,7 @@ def main():
|
|||
|
||||
@client.on(telethon.events.NewMessage())
|
||||
async def handle_new_message(event):
|
||||
if event.message.text.startswith('/'):
|
||||
if event.message.text.startswith('.'):
|
||||
await commander.action(event)
|
||||
else:
|
||||
await responder.respond(event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue