mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-14 13:57:19 +00:00
Disable mentions in logs, allowing mods to be mentioned
Optionally you can return to old behavior by setting allow_user_mentions to true
This commit is contained in:
parent
f4b13529c6
commit
5a8b308934
5 changed files with 20 additions and 8 deletions
|
@ -31,7 +31,8 @@ const defaultOptions: PluginOptions<LogsPluginType> = {
|
|||
timestamp: FORMAT_NO_TIMESTAMP, // Legacy/deprecated, use timestamp_format below instead
|
||||
...DefaultLogMessages,
|
||||
},
|
||||
ping_user: true,
|
||||
ping_user: true, // Legacy/deprecated, if below is false mentions wont actually ping. In case you really want the old behavior, set below to true
|
||||
allow_user_mentions: false,
|
||||
timestamp_format: "YYYY-MM-DD HH:mm:ss z",
|
||||
include_embed_timestamp: true,
|
||||
},
|
||||
|
@ -40,7 +41,7 @@ const defaultOptions: PluginOptions<LogsPluginType> = {
|
|||
{
|
||||
level: ">=50",
|
||||
config: {
|
||||
ping_user: false,
|
||||
ping_user: false, // Legacy/deprecated, read comment on global ping_user option
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue