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._plugins = {}
|
||||||
self._plugin_path = plugin_path
|
self._plugin_path = plugin_path
|
||||||
|
|
||||||
super().__init__(
|
kwargs = {
|
||||||
session,
|
"api_id": 6, "api_hash": "eb06d4abfb49dc3eeb1aeb98ae0f581e",
|
||||||
6, "eb06d4abfb49dc3eeb1aeb98ae0f581e", # yarr
|
**kwargs}
|
||||||
**kwargs)
|
super().__init__(session, **kwargs)
|
||||||
|
|
||||||
# This is a hack, please avert your eyes
|
# This is a hack, please avert your eyes
|
||||||
# We want this in order for the most recently added handler to take
|
# We want this in order for the most recently added handler to take
|
||||||
|
|
Loading…
Reference in New Issue