Skip to content

Commit

Permalink
🪲 Add debug for IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
ruecat committed Dec 21, 2023
1 parent 1642173 commit 167eb52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ async def command_start_handler(message: Message) -> None:
await message.answer(start_message_md, parse_mode=ParseMode.MARKDOWN_V2, reply_markup=builder.as_markup(), disable_web_page_preview=True)
else:
await message.answer(
f"{message.from_user.full_name} [AuthBlocked]\nContact staff to whitelist you",
parse_mode=ParseMode.MARKDOWN_V2)
f"{message.from_user.full_name} [AuthBlocked]\nContact staff to whitelist you", parse_mode=ParseMode.MARKDOWN_V2)
print(f"[Interactions] {message.from_user.username}({message.from_user.id}) is not allowed to use this bot. Value in environment: {allowed_ids}")

@dp.callback_query(lambda query: query.data == 'modelmanager')
async def modelmanager_callback_handler(query: types.CallbackQuery):
Expand Down

0 comments on commit 167eb52

Please sign in to comment.