mirror of
https://github.com/artemium428/first-commenting-bot.git
synced 2026-09-15 16:46:19 +00:00
Send discussion replies silently so they do not ping with sound.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
1a8056e0c5
commit
c9b3df20e2
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ def create_dispatcher(config: Config) -> Dispatcher:
|
||||||
config.comment_text,
|
config.comment_text,
|
||||||
parse_mode=ParseMode.HTML,
|
parse_mode=ParseMode.HTML,
|
||||||
link_preview_options=LinkPreviewOptions(is_disabled=True),
|
link_preview_options=LinkPreviewOptions(is_disabled=True),
|
||||||
|
disable_notification=True,
|
||||||
)
|
)
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.exception(
|
logger.exception(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue