other-js-ts

4043 threads · Page 6 of 81

Code acting like a Closure 2 messages
earnest flare so i have a bunch of actions a user can configure when they run the verify command, one of them is sending a message to ...
I need help with someting 7 messages
stoic marsh So my code is not working. It keeps putting the number in the wrong place and not showing the other texts I want, are ju...
9 vulnerabilities (4 low, 5 moderate) 8 messages
vocal shore 9 vulnerabilities (4 low, 5 moderate) To address issues that do not require attention, run: npm audit fix To address a...
Help 2 messages
celest quartz why does it give such an error?
VSCode intelisense issues with bun 14 messages
river crown Got a barebones default bun project setup and vscode keeps complaining about missing types for bun, and doesn't know the...
1081589253575823411
Project structure 5 messages
outer aspen I've been working on a discord.js bot of considerable size for a long while now, but I'm starting to notice some issues ...
1081589071526240296 1081589253575823411
API help 7 messages
pastel blaze Hi, I'm using zod to make schemas and then inserting values into my db. const itemSchema = z.object({ name: z.stri...
1081589071526240296 1081589253575823411 1081590299358412983
Vite frontend (ESNext) fails to import commonJS module exported variables 2 messages
digital bloom I have a monorepo setup, with workspace containing of apps/ and packages/ I have successfully built all the shared packa...
1081589071526240296 1081589253575823411
Sequelize DB 5 messages
uneven raptor hello, i'm new to Sequelize and i'm trying to make a database for a ticket system i'm making but i'm having troubles wi...
1081589071526240296 1081590299358412983
TS with arrays 6 messages
pastel blaze Hi, I have this code: ```ts const results = await db .select() .from(UserPresence) ...
1081589071526240296 1081589253575823411
Indexing signature confusion 28 messages
light fiber refer to the screenshot i have an Object with number keys and string values if i try to index with a number, it errors, ...
1081590447216017570 1081589253575823411
PostgreSQL 5 messages
frosty mauve How can I start using this database?
1081590299358412983
Fetching information to my discord.js v14 bot from a website, need help 17 messages
stoic marsh So, my discord.js v14 code sends the embed and everything. Tho, the embed says the Home, California Law, Bill informatio...
1081589071526240296
cleaning code. 6 messages
solar berry ok, so. i have alot of code that I use in almost all of my commands. i dont know how to go about this, but, i want to ha...
1081589071526240296
Looking for help with TypeScript config 30 messages
normal fern Hey! I'm trying to set up my TypeScript configuration properly, but ever since I changed moduleResolution to NodeNext, I...
1081589253575823411
Discord Components V2 5 messages
cyan delta right now im trying to make it so that my bot can sent discord embeds using the new components and I wanna make it easie...
1081589253575823411
getting file dirname with tsup 2 messages
radiant wasp using tsup, how can i get the current dirname of a file using import.meta.dirname? as tsup bundles it's causing the dir...
1081589253575823411
New Component V2 Transcript 19 messages
dim field Hello, did someone have a good package with Text or HTML Transcript with Componvent V2 support
1081589071526240296
hot-reloading doesn't work with ESM + TypeScript 7 messages
south prism -# djs: `v14.17.3` - Big codebase, I will update after the dashboard is done in a few weeks... -# Node: `v22.11.0` | TS:...
1081589071526240296 1081589253575823411
@top-gg/sdk autoposter system error 1 messages
cold helm When creating an autoposter system with top-gg/sdk, I get an error like this and when I try it in a different place, it ...
Trying to design a structured JSON format for planning a Discord server before it's built. 1 messages
I got this annoying error 2 messages
visual hollow Uncaught _DiscordAPIError DiscordAPIError[50001]: Missing Access at handleErrors (c:\Users\touhafichahid\node_module...
Error: Cannot find module 'dotenv' 3 messages
ripe marten /
1081589071526240296
Error using prisma generate 14 messages
rapid ocean Im trying to run `bunx prisma generate`. It proceeds to try to download `Prisma engines for Node-API for debian-openssl-...
1081589253575823411 1081590299358412983
TypeScript: type annotation for Object property 42 messages
light fiber How do i make the methods of my Object aware of the type of its properties? example: ```typescript const prop = { thin...
button not getting "handled" after 2rd interaction 32 messages
knotty pecan here is some code: ```js else if (interaction.isButton()) { const [custom, ...args] = interaction.customId.split(":");...
1081589071526240296
mongoose / cannot find module ts 16 messages
stiff zenith ``` import { Message } from "discord.js"; import User from "../../lib/models/userModel"; export const messageTracker = ...
1081589071526240296 1081589253575823411
leveling formula help 27 messages
fierce trail Heyo! I've tried alot of combinations of formulas and min/max xp per message and I cant seem to find a good, stable equa...
1081589071526240296 1081589253575823411
ts-node doesn't recognize .ts 97 messages
light fiber ```typescript PS C:\Users\Uzivatel\Desktop\Langs\js\discord.js> ts-node main.ts TypeError: Unknown file extension ".ts" ...
1081589071526240296 1081589253575823411
help with canvas 6 messages
solar berry ok, so. I have a grid. sort of like this with text on top: Text Text ⬛⬛⬛⬛⬛⬛ ⬛⬛⬛⬛⬛⬛ ⬛⬛⬛⬛⬛⬛ ⬛⬛⬛⬛⬛⬛ ⬛⬛...
1081589071526240296
How to alias an import 5 messages
light fiber How do i rename an import what is happening is that `ApplicationCommandOptionType` is unnecessary long for my usecase ``...
1081589071526240296
unexpected token '}' 31 messages
edgy spear getting this error
1081589071526240296
help 3 messages
sharp light how do I combine topUsers wallet and bank together?
How can I make it detect when a user DMs my bot? 3 messages
grim night ^^
Question about good first issues 4 messages
maiden sage Hi I'm a software developer trying to get in a habit of contributing to open source. Couldn't find any good first issues...
Object value not recognized as function? 16 messages
light fiber hello i am quite new to javascript (im coming from python and i love d.js already) i have this class ```javascript class...
Help with database structure 276 messages
pastel blaze Hello smart people, I am making a giveaway system which will have requirements for users to send messages, which could ...
Help for converting .JSON to Database 3 messages
thin bloom Hello guys i have a code where information like anti raid on/off are stocked in a .json file, does anyone can help me to...
1081589071526240296 1081590299358412983
DiscordAPIError[40060]: Interaction has already been acknowledged. 48 messages
fallen sigil I'm facing a strange issue with my Discord bot: Every time I click a button or interact with any component (like a drop...
@skyra/http-framework issues 15 messages
gray dawn im using the aforementioned package to create a discord bot that has no gateway connection (http only) but im running in...
1081589253575823411
Bot becomes unresponsive when i close vs code but responds again when i have vs code back 2 messages
icy bane Bot becomes unresponsive when i close vs code but responds again when i have vs code back and also running node index.j...
1081589071526240296
prisma issue (again) 58 messages
blissful sun when acessing one-to-many relations in the user data i retrieved, is there any "defined" or "ideal" way to deal with it?...
1081589071526240296 1081590299358412983
typeorm entity 3 messages
gray dawn im trying to create a Player entity using typeorm but im getting the error below (im following a video guide and they se...
1081589253575823411 1081590299358412983
Bot with dashboard 4 messages
scarlet pier I’m looking at making a bot this time with the integration of a web dashboard. Adding a dashboard isn’t something I’ve r...
prisma issue 69 messages
blissful sun i have absolutely no idea on how to make prisma work when i use the provider that lets me use a file, i cannot use list...
1081589071526240296 1081590299358412983
3d noise generation w threejs & simplex-noise 27 messages
heavy garnet im experimenting with threejs and simplex noise making a simple little land generation thing and im facing an issue wher...
Retrieve read latency with mongoose 4 messages
ruby robin Does anybody know how retrieve the read latency of a specific collection or the whole cluster with mongoose?
1081590299358412983
registerFont not found 3 messages
spiral laurel const { createCanvas, registerFont } = require('@napi-rs/canvas'); registerFont('ExampleFont.ttf', { family: 'ExampleFon...
1081589071526240296
OCR File System 12 messages
light moat I am working on making this system for my father since he is an optician. When a new Patient file is scanned through my ...
1081589071526240296 1081589253575823411
Stats System 2 messages
iron lake I want to create stats with the option to change between all-time, month, week, and day, and I'm wondering how to create...
1081589071526240296 1081590299358412983