2
0
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:
Nick80835 2023-10-22 18:19:29 -04:00
parent 87f5d7657d
commit 073c8ae47a

View File

@ -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)