comparison config.feeds.example @ 565:cd5dd38466cf

feeds: More refactoring.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 10 Jul 2020 01:22:55 +0300
parents f85b5c572292
children 4cd72a178cbf
comparison
equal deleted inserted replaced
564:f85b5c572292 565:cd5dd38466cf
77 "#mazmlame" "the adventurers|oots|mestari|effi" 77 "#mazmlame" "the adventurers|oots|mestari|effi"
78 "#fireball" "mestari|effi" 78 "#fireball" "mestari|effi"
79 } 79 }
80 80
81 81
82 # History limit
83 set feeds_history_limit 4
84
85
82 # 1 = Enable logging of various script actions into bot's log 86 # 1 = Enable logging of various script actions into bot's log
83 # 0 = Don't. 87 # 0 = Don't.
84 set feeds_log_enable 1 88 set feeds_log_enable 1
85 89
86 90
112 ### Messages 116 ### Messages
113 ### 117 ###
114 118
115 array set feeds_messages { 119 array set feeds_messages {
116 120
117 "help_full" {"help"} 121 "help_full" {"help_latest" "help_list" "help_history" "help_force"}
118 "help" "@cmd@ \[latest \[<feed>\]|list|history\]" 122 "help_latest" "@cmd@ latest \[<feed>\]"
119 123
120 "chk_unsync_entries" "Epäsynkki." 124 "chk_unsync_entries" "Epäsynkki."
121 "chk_new_entries" "@1@ uutta." 125 "chk_new_entries" "@1@ uutta."
122 "chk_entry" "@1@: @4@ \002@2@\002 -- @3@" 126 "chk_entry" "@1@: @4@ \002@2@\002 -- @3@"
123 127
124 "search_latest_feed" "Uusin '@1@' / @2@: @3@ -- @4@" 128 "search_latest_feed" "Uusin '@1@' / @2@: @3@ -- @4@"
125 "search_no_matches" "Ei osumia haulla '@1@'." 129 "search_no_matches" "Ei osumia haulla '@1@'."
126 130
127 "history_list" "Feedien historia: @1@" 131 "feed_list_active" "Aktiiviset feedit (uudemmat kuin @1@) -- @2@"
128 "history_list_item" "@1@ (@2@)" 132 "feed_list_all" "Kaikki feedit:\n@1@"
129 "history_list_sep" ", " 133 "feed_list_filter" "Kaikki '@1@' mätsäävät feedit:\n@2@"
134
135 "feed_list_item_short" "@1@ (@2@)"
136 "feed_list_sep_short" ", "
137
138 "feed_list_item_long" "@1@ (@2@) @3@ @4@"
139 "feed_list_sep_long" "\n"
140 "feed_list_long_denied" "EIII PYSTY, koita privana @cmd@ @1@"
141
142 "help_list" "@cmd@ list \[long\] \[feedin nimi patterni\]"
143
144 "history_list" "Feedin '@1@' historia:\n@2@"
145 "history_list_item" "@3@: '@2@' -- @1@"
146 "history_list_sep" "\n"
147
148 "help_history" "@cmd@ hist <feedin nimi>"
149
150 "multiple_matches" "'@1@' mätsää useampaan kuin yhteen."
151 "no_matches" "Ei feediä haulla '@1@'."
152
153 "help_force" "@cmd@ force"
130 } 154 }