mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
✨ 使被 ban 提示受配置IS_SEND_TIP_MESSAGE管控
This commit is contained in:
parent
8b9ae7255b
commit
c28545dc6f
@ -74,6 +74,7 @@ async def _(
|
|||||||
and _flmt.check(user_id)
|
and _flmt.check(user_id)
|
||||||
):
|
):
|
||||||
_flmt.start_cd(user_id)
|
_flmt.start_cd(user_id)
|
||||||
|
if Config.get_config("hook", "IS_SEND_TIP_MESSAGE"):
|
||||||
await MessageUtils.build_message(
|
await MessageUtils.build_message(
|
||||||
[
|
[
|
||||||
At(flag="user", target=user_id),
|
At(flag="user", target=user_id),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user