Add user auth level

Fixes #162
Closes #168
Closes #170
This commit is contained in:
Tulir Asokan
2018-07-09 20:37:06 +03:00
parent 74f3956608
commit d035e9da73
10 changed files with 50 additions and 18 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ async def ping(evt):
return await evt.reply("You're not logged in.")
@command_handler()
@command_handler(needs_auth=False, needs_puppeting=False)
async def ping_bot(evt):
if not evt.tgbot:
return await evt.reply("Telegram message relay bot not configured.")