repaired telegram helper
This commit is contained in:
+1
-2
@@ -11,8 +11,7 @@ class TelegramHelper:
|
|||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
self.telegram_bot_token = os.getenv('TELEGRAM_BOT_TOKEN')
|
self.telegram_bot_token = os.getenv('TELEGRAM_BOT_TOKEN')
|
||||||
self.repo_path = os.getenv("GITHUB_REPOSITORY", ".")
|
self.repo = git.Repo(".")
|
||||||
self.repo = git.Repo(self.repo_path)
|
|
||||||
self.start_time = time.time()
|
self.start_time = time.time()
|
||||||
|
|
||||||
async def start(self, update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
|
async def start(self, update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user