Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
d1c77f4
Added stuff
shadow6060 Jun 13, 2023
b098613
Remove Trees
shadow6060 Jun 13, 2023
f452b7e
Oops
shadow6060 Jun 14, 2023
c4677e4
Adding length
shadow6060 Jun 14, 2023
81fad57
Length
shadow6060 Jun 14, 2023
a70b1ac
Fixed
shadow6060 Jun 14, 2023
106cbed
-coughs-
shadow6060 Jun 17, 2023
d0e7ad1
(╯°□°)╯︵ ┻━┻
shadow6060 Jun 17, 2023
fefabb1
(┬┬﹏┬┬)
shadow6060 Jun 17, 2023
cf979a0
(T_T)
shadow6060 Jun 17, 2023
aba8bcd
💢
shadow6060 Jun 17, 2023
54fa307
Stuffs
shadow6060 Jun 22, 2023
928c808
Update README.md
shadow6060 Jun 22, 2023
a1fe218
Fixs
shadow6060 Jun 23, 2023
aa648cc
Some fixs
shadow6060 Jun 23, 2023
9ebb567
DMs
shadow6060 Jun 24, 2023
f068c84
Fixs
shadow6060 Jun 24, 2023
a05b3df
Updated DMS
shadow6060 Jun 24, 2023
f467e13
Removed Console log
shadow6060 Jun 24, 2023
98e02b4
update
shadow6060 Jun 24, 2023
e5d10e7
Add files via upload
shadow6060 Jun 24, 2023
8845eb8
Update workerinfo.ts
shadow6060 Jun 24, 2023
8b441f1
slight changes to work/crime responses
terminalfloof Jun 26, 2023
be65fbd
Update1
shadow6060 Oct 4, 2023
b79483e
Add files via upload
shadow6060 Oct 4, 2023
8774106
Add files via upload
shadow6060 Oct 4, 2023
8496175
Add files via upload
shadow6060 Oct 4, 2023
e96c26f
Update
shadow6060 Oct 7, 2023
ace2e92
Update editstatus.ts
shadow6060 Oct 7, 2023
d5499cc
Update deliver.ts
shadow6060 Nov 13, 2023
6d783cb
minor bug squashing
terminalfloof Nov 29, 2023
5c504a9
Added JSDoc to exported utils
terminalfloof Nov 29, 2023
e289a6a
reverted back to v13 because i have v14 with a burning passion istg
terminalfloof Nov 29, 2023
c7f1437
this is me throwing my hands up in defeat
terminalfloof Nov 29, 2023
409d7d8
Backup
shadow6060 Mar 13, 2024
686a775
a
shadow6060 Mar 13, 2024
eb1c7d7
documentation hell :(
terminalfloof Mar 31, 2024
e21ba2f
code cleanup + code fixes
terminalfloof Mar 31, 2024
c9829a7
Create package-lock.json
terminalfloof Mar 31, 2024
c480afa
bug fixes
terminalfloof Mar 31, 2024
7bb7736
silly me used the wrong table
terminalfloof Mar 31, 2024
935f5d2
Merge refactoring
terminalfloof Mar 31, 2024
9711599
Updates
shadow6060 Apr 9, 2024
b5bf9ea
Delete src/structures/DrinksData.ts
shadow6060 Apr 9, 2024
44254c6
Delete src/structures/CustomDrinkData.ts
shadow6060 Apr 9, 2024
9754ad6
Delete src/events/CommandUsage.ts
shadow6060 Apr 9, 2024
5e058ba
Delete src/commands/crime.ts
shadow6060 Apr 9, 2024
e8cf487
Delete src/commands/work.ts
shadow6060 Apr 9, 2024
0da3176
Delete src/commands/test.ts
shadow6060 Apr 9, 2024
72b3357
Delete src/commands/daily.ts
shadow6060 Apr 9, 2024
c845996
Update .gitignore
shadow6060 Apr 9, 2024
eb2b87d
Fixes
shadow6060 Apr 9, 2024
810ad1f
-coughs update-
shadow6060 Apr 10, 2024
cb4dd49
Update brew.ts
shadow6060 Apr 10, 2024
19334fe
Fixs
shadow6060 Apr 12, 2024
9c54481
Add files via upload
shadow6060 Apr 12, 2024
1463f9c
fixing more errors albeit poorly
terminalfloof Apr 17, 2024
157eadb
bad fixes
terminalfloof Apr 17, 2024
a60f275
implement a basic API in fastify
terminalfloof Apr 17, 2024
109c955
Delete src/providers/drink.ts
shadow6060 Apr 17, 2024
3a19736
updated issues in files
terminalfloof Apr 17, 2024
ba6b83a
Merge remote-tracking branch 'origin/shadow6060-patch-1' into shadow6…
terminalfloof Apr 17, 2024
eecc6de
experimental API
terminalfloof Apr 17, 2024
7681229
migration
terminalfloof Apr 18, 2024
72a3436
Merge branch 'api' into shadow6060-patch-1
terminalfloof Apr 18, 2024
26716e4
update ebrew
terminalfloof Apr 18, 2024
e3d0786
bug squashing
terminalfloof Apr 18, 2024
96f2b1a
update tsconfig paths
terminalfloof Apr 18, 2024
efef65d
Update interactionCreate.ts
shadow6060 Apr 19, 2024
052c81b
Delete src/structures/DrinksData.ts
shadow6060 Apr 19, 2024
73cc7d7
Delete src/structures/CustomDrinkData.ts
shadow6060 Apr 19, 2024
b3b7dab
Delete src/database/preloadimage.ts
shadow6060 Apr 19, 2024
9e02fa1
stuffs
shadow6060 May 7, 2024
d2c617c
Delete yarn.lock
shadow6060 May 7, 2024
d3af270
Delete package-lock.json
shadow6060 May 7, 2024
9ce8951
Delete start Cafe.bat
shadow6060 May 7, 2024
4b5154d
Delete src/commands/Devs/transfer.ts
shadow6060 May 7, 2024
3b3ddb0
Delete src/commands/Devs/avatar.ts
shadow6060 May 7, 2024
48782b5
Delete src/database/clockdata.ts
shadow6060 May 7, 2024
45385b9
Delete yarn-error.log
shadow6060 May 7, 2024
5f14417
Delete prisma/migrations directory
shadow6060 May 7, 2024
a8383fa
Delete database directory
shadow6060 May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ module.exports = {
"@typescript-eslint/consistent-type-imports": "warn",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-restricted-imports": ["error", "discord-api-types"],
"no-unused-vars": "off",
},
};
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,7 @@ dist

config.hjson

logs/
logs/

# WebStorm
.idea/
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tsconfig": "tsconfig.json",
"problemMatcher": ["$tsc"],
"group": "build",
"label": "tsc: build - tsconfig.json",
"label": "tsc: build - tsconfig.json"

}
]
Expand Down
1 change: 1 addition & 0 deletions HowToUse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Starting the bot:
Run These commands: Might only need to run these once Before Starting the bot
- "yarn prisma:generate" // You'll need to Do this After you edit the schema.prisma File
- "yarn prisma:push" // You'll use this to make the Database you defined Before startup
(don't forget to create a .env file, defining DATABASE_URL=<your url>)
Then,
- To start the bot go to the dist directory and start "index.js" with pm2

Expand Down
184 changes: 111 additions & 73 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/config.hjson.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
token: ""
mainServer: "snowflake"

dashboardUrl: "https://your-dashboard-url.com",
databaseUrl: postgresql://user:password@localhost:/mydb?schema=public
developers: []
emojis: {
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dbrewrite",
"version": "1.3.4",
"version": "1.3.5",
"description": "",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -30,28 +30,34 @@
"discord-api-types": "^0.37.35",
"eslint": "^8.12.0",
"eslint-plugin-regexp": "^1.6.0",
"prettier": "^3.2.5",
"prisma": "latest",
"ts-node": "^10.9.1",
"ts-toolbelt": "^9.6.0",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.5"
"typescript": "^5.4.5"
},
"dependencies": {
"@discordjs/builders": "^1.5.0-dev.1677499471-ffdb197.0",
"@discordjs/rest": "^0.3.0",
"@paralleldrive/cuid2": "^2.2.1",
"@prisma/client": "latest",
"@sapphire/shapeshift": "^3.8.1",
"@types/express": "^4.17.21",
"cross-env": "^7.0.3",
"discord.js": "^14.14.1",
"express": "^4.19.2",
"fast-glob": "^3.2.11",
"fastify": "^4.26.2",
"fastify-socket.io": "^5.0.0",
"got": "^11.8.3",
"hjson": "^3.2.2",
"nekos.life": "^3.0.0",
"nodemon": "^3.1.0",
"picocolors": "^1.0.0",
"pino": "^7.9.2",
"pretty-ms": "^7.0.1",
"socket.io": "^4.7.5",
"source-map-support": "^0.5.21",
"typescript-memoize": "^1.1.0",
"uuid": "^9.0.0",
Expand Down
Loading