3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-08 19:47:20 +00:00

refactor: simplify logs plugin types; remove deprecated format.timestamp field

This commit is contained in:
Dragory 2024-04-09 18:32:01 +03:00
parent b28ca170ed
commit 805234acc1
No known key found for this signature in database
75 changed files with 81 additions and 102 deletions

View file

@ -118,10 +118,7 @@ function getCasesPlugin(): Promise<any> {
const defaultOptions: PluginOptions<LogsPluginType> = {
config: {
channels: {},
format: {
timestamp: FORMAT_NO_TIMESTAMP,
...DefaultLogMessages,
},
format: DefaultLogMessages,
ping_user: true,
allow_user_mentions: false,
timestamp_format: "[<t:]X[>]",