fix: hide bot token in HTTP logs
This commit is contained in:
parent
48a93425dd
commit
d379be4bbd
5
bot.py
5
bot.py
|
|
@ -47,6 +47,11 @@ class MpakoBot:
|
|||
builder = (
|
||||
Application.builder()
|
||||
.token(self._settings.bot_token)
|
||||
.connect_timeout(10)
|
||||
.read_timeout(30)
|
||||
.write_timeout(30)
|
||||
.get_updates_connect_timeout(10)
|
||||
.get_updates_read_timeout(30)
|
||||
.post_init(self._post_init)
|
||||
.post_shutdown(self._post_shutdown)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue