Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev authored Nov 30, 2024
1 parent 1841ede commit 58602ad
Show file tree
Hide file tree
Showing 66 changed files with 7 additions and 5,870 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ DISCORD_TOKEN=
DISCORD_CLIENT_ID=
DISCORD_GUILD_ID=
MONGO_DB=
GITHUB_ID=
GITHUB_SECRET=
webhook=
SERVER_URL=register-bot.is-a.dev
23 changes: 5 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
FROM node:latest
FROM node:23

# Create the directory!
RUN mkdir -p /usr/src/bot
WORKDIR /usr/src/bot
WORKDIR /app

# Copy and Install our bot
COPY package.json /usr/src/bot
COPY package*.json ./
RUN npm install
COPY . .

# For Debugging
#RUN apt-get update && apt-get install -y \
# nano \
# curl \
# git \
# && rm -rf /var/lib/apt/lists/*

# Our precious bot
COPY . /usr/src/bot

# Start me!
CMD ["npm", "start"]
CMD npm start
47 changes: 0 additions & 47 deletions OLD/README.md

This file was deleted.

76 changes: 0 additions & 76 deletions OLD/commands/activate.js

This file was deleted.

67 changes: 0 additions & 67 deletions OLD/commands/check.js

This file was deleted.

64 changes: 0 additions & 64 deletions OLD/commands/delete.js

This file was deleted.

Loading

0 comments on commit 58602ad

Please sign in to comment.