Skip to content

Commit 55ad8dc

Browse files
committed
add local config.json
1 parent a73c908 commit 55ad8dc

File tree

1 file changed

+137
-0
lines changed

1 file changed

+137
-0
lines changed

application/config.json

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"databasePath": "local-database.db",
3+
"projectWebsite": "https://github.com/Together-Java/TJ-Bot",
4+
"discordGuildInvite": "https://discord.com/invite/XXFUXzK",
5+
"modAuditLogChannelPattern": "mod-audit-log",
6+
"mutedRolePattern": "Muted",
7+
"heavyModerationRolePattern": "Moderator",
8+
"softModerationRolePattern": "Moderator|Community Ambassador",
9+
"tagManageRolePattern": "Moderator|Community Ambassador|Top Helper.*",
10+
"excludeCodeAutoDetectionRolePattern": "Moderator|Community Ambassador|Expert|Top Helper.*",
11+
"suggestions": {
12+
"channelPattern": "server-suggestions",
13+
"upVoteEmoteName": "upvote",
14+
"downVoteEmoteName": "downvote"
15+
},
16+
"quarantinedRolePattern": "Quarantined",
17+
"scamBlocker": {
18+
"mode": "AUTO_DELETE_BUT_APPROVE_QUARANTINE",
19+
"reportChannelPattern": "community-commands",
20+
"trustedUserRolePattern": "Top Helper.*|Moderator|Community Ambassador|Expert",
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"],
26+
"isHostSimilarToKeywordDistanceThreshold": 2,
27+
"suspiciousAttachmentsThreshold": 3,
28+
"suspiciousAttachmentNamePattern": "(image|\\d{1,2})\\.[^.]{0,5}"
29+
},
30+
"helpSystem": {
31+
"helpForumPattern": "questions",
32+
"categories": [
33+
"Java",
34+
"Frameworks",
35+
"Spring",
36+
"JavaFX|Swing",
37+
"IDE",
38+
"Build Tools",
39+
"Database",
40+
"Android",
41+
"Minecraft",
42+
"Kotlin",
43+
"C|C++",
44+
"Algorithms",
45+
"Math",
46+
"Architecture",
47+
"Code Review",
48+
"Together Java Bot",
49+
"Other"
50+
],
51+
"categoryRoleSuffix": " - Helper"
52+
},
53+
"mediaOnlyChannelPattern": "memes|educational-media|resources|ide-themes-config",
54+
"blacklistedFileExtension": [
55+
"application",
56+
"bat",
57+
"cmd",
58+
"com",
59+
"cpl",
60+
"exe",
61+
"gadget",
62+
"hta",
63+
"inf",
64+
"jse",
65+
"lnk",
66+
"msc",
67+
"msh",
68+
"msh1",
69+
"msh1xml",
70+
"msh2",
71+
"msh2xml",
72+
"mshxml",
73+
"msi",
74+
"msp",
75+
"pif",
76+
"ps1",
77+
"ps1xml",
78+
"ps2",
79+
"ps2xml",
80+
"psc1",
81+
"psc2",
82+
"rar",
83+
"scf",
84+
"scr",
85+
"vb",
86+
"vbe",
87+
"vbs",
88+
"ws",
89+
"wsc",
90+
"wsf",
91+
"wsh"
92+
],
93+
"githubReferencingEnabledChannelPattern": "server-suggestions|tjbot-discussion|modernjava-discussion",
94+
"githubRepositories": [403389278,587644974,601602394],
95+
"modMailChannelPattern": "modmail",
96+
"projectsChannelPattern": "projects",
97+
"sourceCodeBaseUrl": "https://github.com/Together-Java/TJ-Bot/blob/master/application/src/main/java/",
98+
"jshell": {
99+
"rateLimitWindowSeconds": 10,
100+
"rateLimitRequestsInWindow": 3
101+
},
102+
"helperPruneConfig": {
103+
"roleFullLimit": 250,
104+
"roleFullThreshold": 245,
105+
"pruneMemberAmount": 7,
106+
"inactivateAfterDays": 90,
107+
"recentlyJoinedDays": 4
108+
},
109+
"featureBlacklist": {
110+
"normal": [],
111+
"special": []
112+
},
113+
"memberCountCategoryPattern": "Info",
114+
"selectRolesChannelPattern": "select-your-roles",
115+
"rssConfig": {
116+
"feeds": [
117+
{
118+
"url":"https://inside.java/feed.xml",
119+
"targetChannelPattern": "java-news-and-changes",
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"
126+
}
127+
],
128+
"fallbackChannelPattern": "java-news-and-changes",
129+
"videoLinkPattern": "http(s)?://www\\.youtube.com.*",
130+
"pollIntervalInMinutes": 10
131+
},
132+
"topHelpers": {
133+
"rolePattern": "Top Helper.*",
134+
"assignmentChannelPattern": "community-commands",
135+
"announcementChannelPattern": "hall-of-fame"
136+
}
137+
}

0 commit comments

Comments
 (0)