botJS #1

Merged
Starthur merged 12 commits from botJS into main 2022-05-27 09:49:52 +02:00
3 changed files with 18 additions and 0 deletions
Showing only changes of commit 09c555ec78 - Show all commits

5
.dockerignore Normal file
View File

@ -0,0 +1,5 @@
bot.py
README.md
node_modules
env.list
.git

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM debian:9
RUN apt-get update -yq \
&& apt-get install curl gnupg -yq \
&& curl -sL https://deb.nodesource.com/setup_16.x |bash -\
&& apt-get install nodejs -yq \
&& apt-get clean -y
ADD . /app/
WORKDIR /app
CMD npm i && npm remove discord-api-types && npm i discord-api-types@0.27.2 && node bot.js

3
env.list Normal file
View File

@ -0,0 +1,3 @@
DISCORD_TOKEN=OTQzNTA2NTgxMjkzNzc2OTQ3.Yg0C-g.XOjFinUc-Gt1gwtrSILPb0Mlspo
AUTH_TOKEN=test