Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 58602ad

Browse files
authored
changes
1 parent 1841ede commit 58602ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+7
-5870
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ DISCORD_TOKEN=
22
DISCORD_CLIENT_ID=
33
DISCORD_GUILD_ID=
44
MONGO_DB=
5+
GITHUB_ID=
6+
GITHUB_SECRET=
57
webhook=
6-
SERVER_URL=register-bot.is-a.dev

Dockerfile

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1-
FROM node:latest
1+
FROM node:23
22

3-
# Create the directory!
4-
RUN mkdir -p /usr/src/bot
5-
WORKDIR /usr/src/bot
3+
WORKDIR /app
64

7-
# Copy and Install our bot
8-
COPY package.json /usr/src/bot
5+
COPY package*.json ./
96
RUN npm install
7+
COPY . .
108

11-
# For Debugging
12-
#RUN apt-get update && apt-get install -y \
13-
# nano \
14-
# curl \
15-
# git \
16-
# && rm -rf /var/lib/apt/lists/*
17-
18-
# Our precious bot
19-
COPY . /usr/src/bot
20-
21-
# Start me!
22-
CMD ["npm", "start"]
9+
CMD npm start

OLD/README.md

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

OLD/commands/activate.js

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

OLD/commands/check.js

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

OLD/commands/delete.js

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

0 commit comments

Comments
 (0)