Changed behavior on LabelSettingError

This commit is contained in:
2023-04-24 15:38:39 +02:00
parent ee440eabba
commit 844de7ef12
2 changed files with 6 additions and 1 deletions

View File

@@ -112,7 +112,11 @@ async def callback_query_sponsor_yes(app: Client, clb: CallbackQuery):
)
except LabelSettingError as exp:
await app.send_message(
configGet("admin", "groups"), exp.__str__(), disable_notification=True
configGet("owner"), exp.__str__(), disable_notification=True
)
await clb.message.reply_text(
locale("label_set_exception", "message", locale=clb.from_user),
disable_notification=True,
)
edited_markup = [