bugfix
This commit is contained in:
1 parent
fef5c0416b
commit
456b9615d0
1 file changed
+1
-1
@@ -15,7 +15,7 @@ async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
|||||||
user_name = update.effective_user.firstName
|
user_name = update.effective_user.firstName
|
||||||
await update.message.reply_text(f"Halle {user_name} Dein Telegram Bot läuft über Gitea")
|
await update.message.reply_text(f"Halle {user_name} Dein Telegram Bot läuft über Gitea")
|
||||||
|
|
||||||
if __name == "__main__":
|
if __name__ == "__main__":
|
||||||
if not TOKEN:
|
if not TOKEN:
|
||||||
print("Fehler: KEin BOT_TOKEN in der .env gefunden")
|
print("Fehler: KEin BOT_TOKEN in der .env gefunden")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|||||||
Reference in new issue
Block a user