|
1 | 1 | { |
2 | | - "databasePath": "local-database.db", |
| 2 | + "databasePath": "/home/bot/database/database.db", |
3 | 3 | "projectWebsite": "https://github.com/Together-Java/TJ-Bot", |
4 | 4 | "discordGuildInvite": "https://discord.com/invite/XXFUXzK", |
5 | 5 | "modAuditLogChannelPattern": "mod-audit-log", |
6 | | - "modMailChannelPattern": "modmail", |
7 | | - "projectsChannelPattern": "projects", |
8 | 6 | "mutedRolePattern": "Muted", |
9 | 7 | "heavyModerationRolePattern": "Moderator", |
10 | 8 | "softModerationRolePattern": "Moderator|Community Ambassador", |
11 | 9 | "tagManageRolePattern": "Moderator|Community Ambassador|Top Helper.*", |
12 | | - "excludeCodeAutoDetectionRolePattern": "Top Helper.*|Moderator|Community Ambassador|Expert", |
| 10 | + "excludeCodeAutoDetectionRolePattern": "Moderator|Community Ambassador|Expert|Top Helper.*", |
13 | 11 | "suggestions": { |
14 | | - "channelPattern": "tj-suggestions", |
15 | | - "upVoteEmoteName": "peepo_yes", |
16 | | - "downVoteEmoteName": "peepo_no" |
| 12 | + "channelPattern": "server-suggestions", |
| 13 | + "upVoteEmoteName": "upvote", |
| 14 | + "downVoteEmoteName": "downvote" |
17 | 15 | }, |
18 | 16 | "quarantinedRolePattern": "Quarantined", |
19 | 17 | "scamBlocker": { |
20 | | - "mode": "AUTO_DELETE_BUT_APPROVE_QUARANTINE", |
21 | | - "reportChannelPattern": "commands", |
22 | | - "botTrapChannelPattern": "bot-trap", |
| 18 | + "mode": "AUTO_DELETE_AND_QUARANTINE", |
| 19 | + "reportChannelPattern": "community-commands", |
23 | 20 | "trustedUserRolePattern": "Top Helper.*|Moderator|Community Ambassador|Expert", |
24 | | - "suspiciousKeywords": [ |
25 | | - "nitro", |
26 | | - "boob", |
27 | | - "sexy", |
28 | | - "sexi", |
29 | | - "esex", |
30 | | - "steam", |
31 | | - "gift", |
32 | | - "onlyfans", |
33 | | - "bitcoin", |
34 | | - "btc", |
35 | | - "promo", |
36 | | - "trader", |
37 | | - "trading", |
38 | | - "whatsapp", |
39 | | - "crypto", |
40 | | - "^claim", |
41 | | - "^teen$", |
42 | | - "adobe", |
43 | | - "^hack$", |
44 | | - "hacks", |
45 | | - "steamcommunity", |
46 | | - "freenitro", |
47 | | - "^earn$", |
48 | | - "^earning", |
49 | | - ".exe$", |
50 | | - "mrbeast" |
51 | | - ], |
52 | | - "hostWhitelist": [ |
53 | | - "discord.com", |
54 | | - "discord.media", |
55 | | - "discordapp.com", |
56 | | - "discordapp.net", |
57 | | - "discordstatus.com", |
58 | | - "thehackernews.com", |
59 | | - "gradle.org", |
60 | | - "help.gradle.org", |
61 | | - "youtube.com", |
62 | | - "www.youtube.com", |
63 | | - "cdn.discordapp.com", |
64 | | - "media.discordapp.net", |
65 | | - "store.steampowered.com", |
66 | | - "help.steampowered.com", |
67 | | - "learn.microsoft.com" |
68 | | - ], |
69 | | - "hostBlacklist": [ |
70 | | - "bit.ly", |
71 | | - "discord.gg", |
72 | | - "teletype.in", |
73 | | - "t.me", |
74 | | - "corematrix.us", |
75 | | - "u.to", |
76 | | - "steamcommunity.com", |
77 | | - "goo.su", |
78 | | - "telegra.ph", |
79 | | - "shorturl.at", |
80 | | - "cheatings.xyz", |
81 | | - "transfer.sh", |
82 | | - "tobimoller.space" |
83 | | - ], |
84 | | - "suspiciousHostKeywords": [ |
85 | | - "discord", |
86 | | - "nitro", |
87 | | - "premium", |
88 | | - "free", |
89 | | - "cheat", |
90 | | - "crypto", |
91 | | - "telegra", |
92 | | - "telety" |
93 | | - ], |
| 21 | + "botTrapChannelPattern": "ignore-me", |
| 22 | + "suspiciousKeywords": ["nitro", "boob", "sexy", "sexi", "esex", "jobcord", "steam", "gift", "onlyfans", "bitcoin", "btc", "promo", "trader", "trading", "whatsapp", "crypto", "^claim", "^teen$", "adobe", "^hack$", "hacks", "steamcommunity", "freenitro", "^earn$", "^earning", ".exe$", "mrbeast"], |
| 23 | + "hostWhitelist": ["discord.com", "discord.media", "discordapp.com", "discordapp.net", "discordstatus.com", "cwiki.apache.org", "help.gradle.org", "thehackernews.com", "gradle.org", "youtube.com", "www.youtube.com", "cdn.discordapp.com", "media.discordapp.net", "store.steampowered.com", "help.steampowered.com", "learn.microsoft.com"], |
| 24 | + "hostBlacklist": ["bit.ly", "gg.gg", "dsaocrdgift.xyz", "twitchcsgo.cfd", "link-hub.net", "discord.gg", "teletype.in", "t.me", "corematrix.us", "u.to", "steamcommunity.com", "goo.su", "telegra.ph", "shorturl.at", "cheatings.xyz", "transfer.sh", "tobimoller.space"], |
| 25 | + "suspiciousHostKeywords": ["discord", "nitro", "premium", "deepfake", "free", "cheat", "crypto", "telegra", "telety"], |
94 | 26 | "isHostSimilarToKeywordDistanceThreshold": 2, |
95 | 27 | "suspiciousAttachmentsThreshold": 3, |
96 | 28 | "suspiciousAttachmentNamePattern": "(image|\\d{1,2})\\.[^.]{0,5}" |
97 | 29 | }, |
98 | | - "wolframAlphaAppId": "79J52T-6239TVXHR7", |
99 | 30 | "helpSystem": { |
100 | 31 | "helpForumPattern": "questions", |
101 | 32 | "categories": [ |
102 | 33 | "Java", |
103 | 34 | "Frameworks", |
| 35 | + "Spring", |
104 | 36 | "JavaFX|Swing", |
105 | 37 | "IDE", |
106 | 38 | "Build Tools", |
107 | 39 | "Database", |
108 | 40 | "Android", |
| 41 | + "Minecraft", |
| 42 | + "Kotlin", |
109 | 43 | "C|C++", |
110 | 44 | "Algorithms", |
111 | 45 | "Math", |
|
116 | 50 | ], |
117 | 51 | "categoryRoleSuffix": " - Helper" |
118 | 52 | }, |
119 | | - "mediaOnlyChannelPattern": "memes", |
| 53 | + "mediaOnlyChannelPattern": "memes|educational-media|resources|ide-themes-config", |
120 | 54 | "blacklistedFileExtension": [ |
121 | 55 | "application", |
122 | 56 | "bat", |
|
145 | 79 | "ps2xml", |
146 | 80 | "psc1", |
147 | 81 | "psc2", |
| 82 | + "rar", |
148 | 83 | "scf", |
149 | 84 | "scr", |
150 | 85 | "vb", |
|
157 | 92 | ], |
158 | 93 | "githubReferencingEnabledChannelPattern": "server-suggestions|tjbot-discussion|modernjava-discussion", |
159 | 94 | "githubRepositories": [403389278,587644974,601602394], |
| 95 | + "modMailChannelPattern": "modmail", |
| 96 | + "projectsChannelPattern": "projects", |
160 | 97 | "sourceCodeBaseUrl": "https://github.com/Together-Java/TJ-Bot/blob/master/application/src/main/java/", |
161 | 98 | "jshell": { |
162 | 99 | "rateLimitWindowSeconds": 10, |
|
170 | 107 | "recentlyJoinedDays": 4 |
171 | 108 | }, |
172 | 109 | "featureBlacklist": { |
173 | | - "normal": [ |
174 | | - ], |
175 | | - "special": [ |
176 | | - ] |
| 110 | + "normal": [], |
| 111 | + "special": [] |
177 | 112 | }, |
| 113 | + "memberCountCategoryPattern": "Info", |
178 | 114 | "selectRolesChannelPattern": "select-your-roles", |
179 | 115 | "rssConfig": { |
180 | 116 | "feeds": [ |
181 | 117 | { |
182 | | - "url": "https://blogs.oracle.com/java/rss", |
| 118 | + "url":"https://inside.java/feed.xml", |
183 | 119 | "targetChannelPattern": "java-news-and-changes", |
184 | | - "dateFormatterPattern": "EEE, d MMM yyyy HH:mm:ss z" |
| 120 | + "dateFormatterPattern": "yyyy-MM-dd'T'HH:mm:ssXXX" |
| 121 | + }, |
| 122 | + { |
| 123 | + "url":"https://www.youtube.com/feeds/videos.xml?playlist_id=UUSHmRtPmgnQ04CMUpSUqPfhxQ", |
| 124 | + "targetChannelPattern": "today-i-teach", |
| 125 | + "dateFormatterPattern": "yyyy-MM-dd'T'HH:mm:ssXXX" |
185 | 126 | } |
186 | 127 | ], |
187 | 128 | "fallbackChannelPattern": "java-news-and-changes", |
188 | 129 | "videoLinkPattern": "http(s)?://www\\.youtube.com.*", |
189 | 130 | "pollIntervalInMinutes": 10 |
190 | 131 | }, |
191 | | - "memberCountCategoryPattern": "Info", |
192 | 132 | "topHelpers": { |
193 | 133 | "rolePattern": "Top Helper.*", |
194 | 134 | "assignmentChannelPattern": "community-commands", |
|
0 commit comments