Update token_obtainment.py

pull/29/head
Who? 2024-11-30 23:39:14 +07:00 committed by GitHub
parent e680a33159
commit d243495989
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ class TokenObtainment(InlineUnit):
"hikka.inline",
"custom_bot",
False,
) and not re.search(r"@hikka_[0-9a-zA-Z]{6}_bot", button.text):
) and not re.search(r"@heroku_[0-9a-zA-Z]{6}_bot", button.text):
continue
await fw_protect()
@ -221,7 +221,7 @@ class TokenObtainment(InlineUnit):
from .. import main
m = await conv.send_file(
main.BASE_PATH / "assets" / "bot_pfp.png"
main.BASE_PATH / "assets" / "heroku_ava.png"
)
r = await conv.get_response()