This commit is contained in:
1 parent
beb0a72bbb
commit
934efc996e
1 file changed
+1
-1
@@ -32,7 +32,7 @@ if __name__ == "__main__":
|
|||||||
print("Fehler: Kein BOT_TOKEN in der .env gefunden")
|
print("Fehler: Kein BOT_TOKEN in der .env gefunden")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
app = ApplicationBuilder().token(TOKEN).build()
|
app = ApplicationBuilder().token(TOKEN).post_init(post_init).build()
|
||||||
|
|
||||||
app.add_handler(CommandHandler("start", start))
|
app.add_handler(CommandHandler("start", start))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user