Jaymart
Jaymart
Explore posts from servers
SIASapphire - Imagine a framework
Created by Jaymart on 6/7/2024 in #sapphire-support
Logic question
and also using rabbitmq, I took a couple hours just to plan it all out :kekw: cause the bot is a pain in the ass
12 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/7/2024 in #sapphire-support
Logic question
yeah im currently using railway and okay yeah I just found djs/core was using it for rest but your point about dropping sapphire also for the overhead just makes the most sense tbf lol. I appreciate your input.
12 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/7/2024 in #sapphire-support
Logic question
so with that does sapphire have anything for Rest?
12 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/7/2024 in #sapphire-support
Logic question
:kekw:
12 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/7/2024 in #sapphire-support
Logic question
don't need to actually connect to the gateway
12 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/7/2024 in #sapphire-support
Logic question
oh wait a second im stupid af. I can just use rest within the workers lmao
12 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/6/2024 in #sapphire-support
presenceUpdate require member cache?
okay thanks
6 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/6/2024 in #sapphire-support
presenceUpdate require member cache?
fuck me
6 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/6/2024 in #sapphire-support
listener not loading.
also put a _load.ts in the listeners folder
13 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/6/2024 in #sapphire-support
listener not loading.
i've got it, i used virtual pieces rather than the default file system. i assume it has something to do with the nx setup, etc.
13 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/6/2024 in #sapphire-support
listener not loading.
and my project.json from nx which has the build and such in it.
{
"name": "discord",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/discord/src",
"projectType": "application",
"tags": [],
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"platform": "node",
"outputPath": "dist/apps/discord",
"format": ["esm"],
"bundle": true,
"main": "apps/discord/src/index.ts",
"tsConfig": "apps/discord/tsconfig.app.json",
"assets": ["apps/discord/src/assets"],
"generatePackageJson": true,
"esbuildOptions": {
"sourcemap": true,
"outExtension": {
".js": ".js"
}
}
},
"configurations": {
"development": {},
"production": {
"esbuildOptions": {
"sourcemap": false,
"outExtension": {
".js": ".js"
}
}
}
}
},
"serve": {
"executor": "@nx/js:node",
"defaultConfiguration": "development",
"options": {
"buildTarget": "discord:build"
},
"configurations": {
"development": {
"buildTarget": "discord:build:development"
},
"production": {
"buildTarget": "discord:build:production"
}
}
}
}
}
{
"name": "discord",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/discord/src",
"projectType": "application",
"tags": [],
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"platform": "node",
"outputPath": "dist/apps/discord",
"format": ["esm"],
"bundle": true,
"main": "apps/discord/src/index.ts",
"tsConfig": "apps/discord/tsconfig.app.json",
"assets": ["apps/discord/src/assets"],
"generatePackageJson": true,
"esbuildOptions": {
"sourcemap": true,
"outExtension": {
".js": ".js"
}
}
},
"configurations": {
"development": {},
"production": {
"esbuildOptions": {
"sourcemap": false,
"outExtension": {
".js": ".js"
}
}
}
}
},
"serve": {
"executor": "@nx/js:node",
"defaultConfiguration": "development",
"options": {
"buildTarget": "discord:build"
},
"configurations": {
"development": {
"buildTarget": "discord:build:development"
},
"production": {
"buildTarget": "discord:build:production"
}
}
}
}
}
13 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/6/2024 in #sapphire-support
listener not loading.
this is my package.json
{
"name": "@vanityroles-ecosystem/source",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"private": true,
"type": "module",
"prettier": "@sapphire/prettier-config",
"devDependencies": {
"@nx/esbuild": "19.2.0",
"@nx/eslint": "19.2.0",
"@nx/eslint-plugin": "19.2.0",
"@nx/js": "19.2.0",
"@nx/node": "^19.2.0",
"@nx/workspace": "19.2.0",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@types/node": "~18.16.20",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"esbuild": "^0.19.2",
"eslint": "~8.57.0",
"eslint-config-prettier": "^9.0.0",
"nx": "19.2.0",
"prettier": "^2.6.2",
"typescript": "~5.4.5"
},
"dependencies": {
"@influxdata/influxdb-client": "^1.33.2",
"@kaname-png/plugin-influxdb": "^1.4.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.46.1",
"@opentelemetry/sdk-node": "^0.52.0",
"@sapphire/decorators": "^6.1.0",
"@sapphire/discord.js-utilities": "^7.3.0",
"@sapphire/eslint-config": "^5.0.5",
"@sapphire/framework": "^5.2.1",
"@sapphire/lexure": "^1.1.7",
"@sapphire/pieces": "^4.2.2",
"@sapphire/plugin-api": "^6.1.1",
"@sapphire/plugin-logger": "^4.0.2",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ratelimits": "^2.4.9",
"@sapphire/snowflake": "^3.5.3",
"@sapphire/ts-config": "^5.0.1",
"@sapphire/utilities": "^3.16.2",
"@sentry/node": "^8.7.0",
"@types/express": "^4.17.21",
"discord-cross-hosting": "^2.3.8",
"discord-hybrid-sharding": "^2.2.0",
"discord.js": "14.15.3",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"prom-client": "^15.1.2",
"redis": "^4.6.14",
"ts-node": "^10.9.2",
"tslib": "^2.3.0",
"zod": "^3.23.8"
}
}
{
"name": "@vanityroles-ecosystem/source",
"version": "0.0.0",
"license": "MIT",
"scripts": {},
"private": true,
"type": "module",
"prettier": "@sapphire/prettier-config",
"devDependencies": {
"@nx/esbuild": "19.2.0",
"@nx/eslint": "19.2.0",
"@nx/eslint-plugin": "19.2.0",
"@nx/js": "19.2.0",
"@nx/node": "^19.2.0",
"@nx/workspace": "19.2.0",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@types/node": "~18.16.20",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"esbuild": "^0.19.2",
"eslint": "~8.57.0",
"eslint-config-prettier": "^9.0.0",
"nx": "19.2.0",
"prettier": "^2.6.2",
"typescript": "~5.4.5"
},
"dependencies": {
"@influxdata/influxdb-client": "^1.33.2",
"@kaname-png/plugin-influxdb": "^1.4.0",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.46.1",
"@opentelemetry/sdk-node": "^0.52.0",
"@sapphire/decorators": "^6.1.0",
"@sapphire/discord.js-utilities": "^7.3.0",
"@sapphire/eslint-config": "^5.0.5",
"@sapphire/framework": "^5.2.1",
"@sapphire/lexure": "^1.1.7",
"@sapphire/pieces": "^4.2.2",
"@sapphire/plugin-api": "^6.1.1",
"@sapphire/plugin-logger": "^4.0.2",
"@sapphire/prettier-config": "^2.0.0",
"@sapphire/ratelimits": "^2.4.9",
"@sapphire/snowflake": "^3.5.3",
"@sapphire/ts-config": "^5.0.1",
"@sapphire/utilities": "^3.16.2",
"@sentry/node": "^8.7.0",
"@types/express": "^4.17.21",
"discord-cross-hosting": "^2.3.8",
"discord-hybrid-sharding": "^2.2.0",
"discord.js": "14.15.3",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"prom-client": "^15.1.2",
"redis": "^4.6.14",
"ts-node": "^10.9.2",
"tslib": "^2.3.0",
"zod": "^3.23.8"
}
}
13 replies
SIASapphire - Imagine a framework
Created by Jaymart on 6/6/2024 in #sapphire-support
listener not loading.
intents are enabled. Im using TS and im using nx to run it so, pnpm nx serve discord and no messages. presence update listener
13 replies