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

View File

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