This repository has been archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c7e16dc
Showing
33 changed files
with
2,947 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# 2 space indentation | ||
[*.ts] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# End files with a single newline | ||
[*.md] | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
package-lock.json | ||
dist | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dist | ||
coverage | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:16.9.0 | ||
|
||
WORKDIR /usr | ||
|
||
COPY package.json ./ | ||
|
||
COPY tsconfig.json ./ | ||
|
||
COPY src ./src | ||
COPY . .env | ||
|
||
RUN ls -a | ||
|
||
RUN npm install | ||
RUN npm run build | ||
|
||
CMD ["npm", "run", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Alliteration = Gleicher Anfangslaut von benachbarten Wörtern (z.B. Geiz ist geil, Coca Cola) | ||
Anapher = Wortwiederholung eines Wortes am Satzanfang (z.B. Carglass reapariert, Carglass tauscht aus) | ||
Antithese = Bezeichnung für einen Gegensatz (z.B. "Gut und Böse") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
declare global { | ||
namespace NodeJS { | ||
interface ProcessEnv { | ||
BOT_TOKEN: string; | ||
GUILD_ID: string; | ||
ENV: "dev" | "prod" | "debug"; | ||
MONGO_DB: string; | ||
} | ||
} | ||
} | ||
|
||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "postgrex", | ||
"version": "1.0.0", | ||
"description": "I#m bored", | ||
"main": "src/index.ts", | ||
"scripts": { | ||
"start": "node dist/index.js", | ||
"dev": "concurrently \"tsc -w\" \"nodemon ./dist/index.js\"", | ||
"build": "tsc", | ||
"lint": "eslint . --ext .ts" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@types/node-cron": "^3.0.6", | ||
"axios": "^0.24.0", | ||
"chalk": "^4.1.2", | ||
"concurrently": "^7.6.0", | ||
"discord.js": "^14.7.1", | ||
"dotenv": "^10.0.0", | ||
"glob": "^7.2.0", | ||
"mongoose": "^6.8.1", | ||
"node-cron": "^3.0.2", | ||
"nodemon": "^2.0.20", | ||
"typescript": "^4.9.4" | ||
}, | ||
"devDependencies": { | ||
"@tsconfig/node16": "^1.0.2", | ||
"@types/glob": "^7.2.0", | ||
"@types/node": "^17.0.1" | ||
} | ||
} |
Oops, something went wrong.