mirror of
https://github.com/Nick80835/microbot
synced 2025-08-29 13:38:55 +00:00
remove extra get_me that I forgot to remove
This commit is contained in:
parent
87f5d7657d
commit
073c8ae47a
@ -47,8 +47,6 @@ class MicroBot():
|
|||||||
).start(
|
).start(
|
||||||
bot_token=self.settings.get_config("bot_token")
|
bot_token=self.settings.get_config("bot_token")
|
||||||
)
|
)
|
||||||
|
|
||||||
self.me = await self.client.get_me()
|
|
||||||
except (TokenInvalidError, AccessTokenExpiredError, AccessTokenInvalidError):
|
except (TokenInvalidError, AccessTokenExpiredError, AccessTokenInvalidError):
|
||||||
logger.error("The bot token provided is invalid, exiting.")
|
logger.error("The bot token provided is invalid, exiting.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user