Changed behavior on LabelSettingError
This commit is contained in:
@@ -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 = [
|
||||
|
Reference in New Issue
Block a user