We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5405ea3 commit e12eb38Copy full SHA for e12eb38
1 file changed
bot/commands/textHandler.js
@@ -24,8 +24,8 @@ module.exports.textHandler = async function (ctx) {
24
match = Array.from(new Set(message_text.match(/\d+/gm)));
25
if (match && match[0]) {
26
for (let i = 0; i < match.length; i++) {
27
- if (i >29){
28
- console.log("textHandler finished work - limit 30 codes")
+ if (i >config.maximum_codes_from_one_message){
+ console.log("textHandler finished work - limit" + maximum_codes_from_one_message + " codes")
29
return
30
}
31
let manga_id = match[i],
0 commit comments