Maintence

This commit is contained in:
2026-08-22 16:15:01 -04:00
parent 60a673e1cf
commit a0b7dd5338
5 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Environment
.env
.env*
# Dependencies
node_modules/
+4
View File
@@ -1,4 +1,8 @@
FROM oven/bun:1-alpine AS deps
# Set production environment
ENV NODE_ENV="production"
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --production
+3
View File
@@ -5,6 +5,9 @@
"@types/bun": "latest",
"@types/node": "^25.9.5"
},
"scripts": {
"dev": "bun run src/index.ts"
},
"peerDependencies": {
"typescript": "^5.9.3"
},
+1 -1
View File
@@ -18,7 +18,7 @@ client.once(Events.ClientReady, async (readyClient) => {
});
client.on("guildMemberAdd", async (guildMember) => {
await roleService.addStarterRoles(guildMember);
await roleService.giveStarterRoles(guildMember);
});
client.on("messageCreate", async (message) => {
+1 -1
View File
@@ -27,7 +27,7 @@ export default class RoleService {
});
}
async addStarterRoles(guildMember: GuildMember) {
async giveStarterRoles(guildMember: GuildMember) {
for (const starterRole of this.starterRoles) {
const role = this.getRoleByName(guildMember.guild, starterRole);
if (!role) continue;