Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fixes] fixes #38

Merged
merged 5 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hikka/inline/token_obtainment.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async def _assert_token(
# Just return `True`
return True

logger.info("Bot token not found in database, attempting search in BotFather")
logger.info("Netfoll can't find token in database, taking it from BotFather")

if not self._db.get(__name__, "no_mute", False):
await utils.dnd(
Expand Down
4 changes: 2 additions & 2 deletions hikka/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ async def save_client_session(self, client: CustomTelegramClient):

async def _web_banner(self):
"""Shows web banner"""
logging.info("✅ Web mode ready for configuration")
logging.info("🌐 Please visit %s", self.web.url)
logging.info("✅ Netfoll is now can be setted up in browser!")
logging.info("🌐 Go to %s", self.web.url)

async def wait_for_web_auth(self, token: str) -> bool:
"""
Expand Down
2 changes: 1 addition & 1 deletion hikka/modules/inline_stuff.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async def _check_bot(self, username: str) -> bool:
es_doc="<nombre de usuario> - Cambia el nombre de usuario del bot de inline",
kk_doc="<пайдаланушы аты> - Инлайн боттың пайдаланушы атын өзгерту",
)
async def ch_hikka_bot(self, message: Message):
async def ch_netfoll_bot(self, message: Message):
"""<username> - Change your Netfoll inline bot username"""
args = utils.get_args_raw(message).strip("@")
if (
Expand Down