Skip to content

Commit 91afde6

Browse files
committed
Revert "feat(experimental): added a job/introduction bot detection (#461)"
This reverts commit f946770.
1 parent f946770 commit 91afde6

File tree

3 files changed

+1
-105
lines changed

3 files changed

+1
-105
lines changed

src/constants/channels.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { ChannelType, Client, TextChannel } from "discord.js";
22
import { guildId, isProd } from "../helpers/env.js";
33

44
const LOCAL_CHANNELS: Record<keyof typeof PRODUCTION_CHANNELS, string> = {
5-
introduction: "925847644318879754",
65
helpReact: "926931785219207301",
76
helpThreadsReact: "950790460857794620",
87
helpJs: "950790460857794620",
@@ -21,25 +20,12 @@ const LOCAL_CHANNELS: Record<keyof typeof PRODUCTION_CHANNELS, string> = {
2120
modLog: "925847644318879754",
2221
botLog: "916081991542276096",
2322
vcLog: "1237103703740121201",
24-
generalTech: "1166062952084942940",
25-
jobsAdvice: "1166062952084942940",
26-
generalReact: "1166062952084942940",
27-
helpReactNative: "1166062952084942940",
28-
helpStyling: "1166062952084942940",
29-
helpBackend: "1166062952084942940",
3023
};
3124

3225
const PRODUCTION_CHANNELS = {
33-
introduction: "306196179538935818",
3426
helpReact: "103696749012467712",
3527
helpThreadsReact: "902647189120118794",
3628
helpJs: "565213527673929729",
37-
generalTech: "102860784329052160",
38-
jobsAdvice: "287623405946011648",
39-
generalReact: "102860784329052160",
40-
helpReactNative: "469170673533583361",
41-
helpStyling: "105765765117935616",
42-
helpBackend: "145170347921113088",
4329
random: "103325358643752960",
4430
gaming: "509219336175747082",
4531
thanks: "798567961468076072",

src/features/message-scanner.ts

Lines changed: 0 additions & 77 deletions
This file was deleted.

src/index.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
ActivityType,
1111
IntentsBitField,
1212
} from "discord.js";
13-
import { messageScanner } from "./features/message-scanner.js";
13+
1414
import { logger, channelLog } from "./features/log.js";
1515
// import codeblock from './features/codeblock';
1616
import jobsMod, { resetJobCacheCommand } from "./features/jobs-moderation.js";
@@ -205,19 +205,6 @@ addHandler(
205205
promotionThread,
206206
);
207207

208-
addHandler(
209-
[
210-
CHANNELS.helpReact,
211-
CHANNELS.helpJs,
212-
CHANNELS.helpReactNative,
213-
CHANNELS.helpStyling,
214-
CHANNELS.helpBackend,
215-
CHANNELS.generalReact,
216-
CHANNELS.generalTech,
217-
],
218-
messageScanner,
219-
);
220-
221208
const threadChannels = [CHANNELS.helpJs, CHANNELS.helpThreadsReact];
222209
addHandler(threadChannels, autothread);
223210

0 commit comments

Comments
 (0)