forked from kate/uniborg
Allow overriding API ID and key
This commit is contained in:
parent
80ba9bebb3
commit
d54015e1b7
|
@ -28,10 +28,10 @@ class Uniborg(TelegramClient):
|
|||
self._plugins = {}
|
||||
self._plugin_path = plugin_path
|
||||
|
||||
super().__init__(
|
||||
session,
|
||||
6, "eb06d4abfb49dc3eeb1aeb98ae0f581e", # yarr
|
||||
**kwargs)
|
||||
kwargs = {
|
||||
"api_id": 6, "api_hash": "eb06d4abfb49dc3eeb1aeb98ae0f581e",
|
||||
**kwargs}
|
||||
super().__init__(session, **kwargs)
|
||||
|
||||
# This is a hack, please avert your eyes
|
||||
# We want this in order for the most recently added handler to take
|
||||
|
|
Loading…
Reference in New Issue