some refactoring, fixed db stuff and help section

This commit is contained in:
Von Random 2023-11-05 11:31:42 +00:00
parent c9331151f8
commit 696bf5492b
4 changed files with 70 additions and 29 deletions

2
pgbot
View file

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