-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor telegram #11
Conversation
94b2ef9
to
5f2a8e6
Compare
@@ -3,7 +3,7 @@ | |||
import shutil | |||
from datetime import datetime | |||
from sqlalchemy import func | |||
from typing import Iterator, List, Union | |||
from typing import Iterator, List, Union, Tuple |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
T kommt vor U 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jukt keinen
app/handler/Telegram.py
Outdated
|
||
@run_async | ||
def upvote(bot: Bot, update: Update) -> None: | ||
query = update.callback_query |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fehlt ein Typ
app/handler/Telegram.py
Outdated
|
||
def init_telegram(): | ||
|
||
updater = Updater(config["telegram_token"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fehlt noch ein Typ
uuid>=1.30 | ||
python-telegram-bot>=11.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing new line
@@ -53,7 +53,7 @@ services: | |||
destination: /app/app/data/ | |||
read_on_start: 'True' | |||
# Tokens required | |||
telegram_token: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Geht gar nicht
Kann ich auch morgen ändern. |
No description provided.