Skip to content

Commit

Permalink
pass telegram token directly in telegram.Bot()
Browse files Browse the repository at this point in the history
  • Loading branch information
louisevelayo committed Nov 15, 2023
1 parent 18a4d72 commit 806dc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_monitor/bot_telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class TelegramBot:
def __init__(self, telegram_token: str) -> None:
self.telegram_bot = telegram.Bot(token=telegram_token)
self.telegram_bot = telegram.Bot(telegram_token)

async def send_message(
self,
Expand Down

0 comments on commit 806dc35

Please sign in to comment.