Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"djs-slash-helper": "git+https://github.com/bristermitten/djs-slash-helper.git#97726a356be094f4d187637734b116e4e1c89be5",
"expiry-map": "^2.0.0",
"fluent-ffmpeg": "^2.1.3",
"handlebars": "^4.7.8",
"lru-cache": "^11.1.0",
"mariadb": "^3.4.5",
"node-fetch": "^3.3.2",
Expand Down Expand Up @@ -69,6 +70,7 @@
"@sentry/types": "^10.5.0",
"@sinonjs/fake-timers": "^14.0.0",
"@types/bun": "^1.2.19",
"@types/handlebars": "^4.1.0",
"@types/node": "^24.3.0",
"@types/node-schedule": "^2.1.8",
"@types/opentype.js": "^1.3.8",
Expand Down
5 changes: 5 additions & 0 deletions src/Config.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export const config: Config = {
yesEmojiId: "thumbsup",
noEmojiId: "thumbsdown",
},
modmail: {
pingRole: "",
archiveChannel: "",
channel: "",
},
pastebin: {
url: "https://paste.developerden.org",
threshold: 20,
Expand Down
5 changes: 5 additions & 0 deletions src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ export const config: Config = {
yesEmojiId: "👍",
noEmojiId: "👎",
},
modmail: {
pingRole: "1412470653050818724",
archiveChannel: "1412470199495561338",
channel: "1412470223004766268",
},
pastebin: prodConfig.pastebin,
branding: {
color: "#ffffff",
Expand Down
5 changes: 5 additions & 0 deletions src/config.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export interface Config {
noPing: Snowflake;
bumpNotifications?: Snowflake;
};
modmail: {
channel: string;
archiveChannel: string;
pingRole?: Snowflake;
};
branding: BrandingConfig;
informationMessage?: InformationMessage;
}
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import JoinLeaveMessageModule from "./modules/joinLeaveMessage.module.js";
import { LanguageStatusModule } from "./modules/languageStatus.module.js";
import { LearningModule } from "./modules/learning/learning.module.js";
import { ModerationModule } from "./modules/moderation/moderation.module.js";
import { ModmailModule } from "./modules/modmail/modmail.module.js";
import ModuleManager from "./modules/moduleManager.js";
import PastifyModule from "./modules/pastify/pastify.module.js";
import { RolesModule } from "./modules/roles/roles.module.js";
Expand All @@ -36,6 +37,7 @@ const client = new Client({
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.DirectMessages,
],
partials: [Partials.Message, Partials.Channel, Partials.Reaction],
});
Expand All @@ -62,6 +64,7 @@ export const moduleManager = new ModuleManager(
SuggestModule,
ModerationModule,
StarboardModule,
ModmailModule,
],
);

Expand Down
Loading
Loading