Enable webhooks on bot
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
b90725d35b
commit
3e5c1b415f
1 changed files with 1 additions and 1 deletions
|
@ -221,4 +221,4 @@ bot.onUpdate(updateHandler)
|
|||
bot.onCommand("start", startHandler)
|
||||
bot.onCommand("ban", banHandler)
|
||||
bot.onCommand("unban", unbanHandler)
|
||||
bot.poll(timeout=300)
|
||||
bot.startWebhook(getEnv("HOOK_SECRET"), getEnv("HOOK_DOMAIN") & "/" & getEnv("HOOK_SECRET"))
|
||||
|
|
Loading…
Reference in a new issue