mirror of
https://github.com/Nick80835/microbot
synced 2025-08-22 01:58:17 +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(
|
||||
bot_token=self.settings.get_config("bot_token")
|
||||
)
|
||||
|
||||
self.me = await self.client.get_me()
|
||||
except (TokenInvalidError, AccessTokenExpiredError, AccessTokenInvalidError):
|
||||
logger.error("The bot token provided is invalid, exiting.")
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user