other-js-ts

3634 threads · Page 8 of 73

typescript type 11 messages
karmic widget ```js for (const commandPath of commandPaths) { const { default: commandData } = await import(commandPath); if ...
TypeScript
host on docker 2 messages
normal swan Hey, i would like to host my bot in docker on my nas but i'm not at all familiar with docker and can't get it to work if...
Unable to reply on Rasberry Pi 5 3 messages
scarlet vale I know this is perhaps not the kind of question to ask here, but I don't know where else to turn and am only hoping for ...
for some reason it doesnt get the gamesHosted values for the top 3 7 messages
hallow marsh Code: https://sourceb.in/IegjFaF5nQ
Node.js Database
Progress bar help 2 messages
shrewd rover I can't for the life of me figure out how to fix this problem I want the right bar to be slightly full using the `verySm...
Make my Discord.js bot a node.js module instead of CommonJS 22 messages
meager thorn How can I turn this into an `import()` statement? ```javascript const filePath = path.join(eventsPath, file); const eve...
Node.js
Setting up a mono repo 4 messages
fathom kettle Anyone here have experience setting up a mono repo and what types of tools I should use to make this easier for myself? ...
Can't access connect to MongoDB through mongoose 80 messages
copper wagon I'm trying to initialise a connection with MongoDB through mongoose (typescript) but it's just not showing any connectio...
TypeScript Database
Getting 429 requests errors 4 messages
cloud fulcrum Me and My Friend , are having the same source he's hosting it on aws and code's working fine no matter how many time yo...
TypeScript
Bad audio performance in docker 2 messages
craggy siren Very bad audio performance in docker, it is acceptable when running directly on a linux vps. Sounds very distorted and l...
receive mysql database array 8 messages
steel verge I want to be able to display the database content like this ``` item 1 = price 1 item 2 = price 2 ... = ... ``` but I o...
Seperate The Process 11 messages
rough pebble Some bots are doing custom brands and I wanna know how they run one source on different tokens?
Node.js
How to access a JSON value? 3 messages
surreal lava Hello, how to access the '#text' value? (which will be '&TEAM'). I've tried `artist.#text` which is not working.
Node.js
fivem / rcon 2 messages
buoyant vine when i use IceCon to connect to my fivem rcon server it works, however when i use the nodejs package "rcon-client" it re...
Crawl's DIscord Presence extension 3 messages
hearty basalt Is there a way to auto-reconnect when connection is lost?
Having troubles with splitting commands away from the index.js file 21 messages
steel verge The title says it all. I've followed a few different videos by a few different youtubers and they all do something diffe...
Node.js
Git Push & Pull to Sudo Su 44 messages
frank relic For some reason, everytime i create a new slash command within `src/commands`, (The file is called `PerformanceReviews.j...
Node.js
Resolving Potential Memory Leaks in Large-ish Discord Bot 7 messages
upper bloom My bot ends up accumulating a lot of RAM over time (it starts at a reasonable 7gb but then gets up to 10.5gb at which po...
Node.js TypeScript
Should I store all the members of a server or should I fetch them in runtime? 10 messages
pulsar harbor Hello, I am working on my database right now and I was thinking about storing all the members in a server in an array wi...
Node.js Database
Quick question with interfaces 12 messages
fathom kettle I'm definitely more of a frontend guy so not really sure if I'm overthinking this but I'm trying to build a fullstack ap...
Node.js TypeScript Database
Document is null 6 messages
bronze prism Hi, encountering this issue, any idea on how to fix? ```js Typeerror: Cannot read properties of null (reading 'includes'...
RabbitMQ with Discord.js 14 messages
misty minnow I have some worker threads, they are picking task from my rabbit mq queue and i want to send the data from the worker to...
Parsing times (1y, 5m, 10h, etc.) 6 messages
royal silo Heya, is there an npm package that parses input such as `1y` (1 year) and things like that into other formats, such as u...
Node.js TypeScript
help i need help im a noobie trying to code a bot 3 messages
sly matrix im new to coding and im trying to code a bot for my server i got all my python pats and everything setup and i got my fi...
Browser Database
Thought I was done 😅 but can't add to database 3 messages
steel verge I am having trouble getting my bot to add data to my mysql database. It is saying "TypeError: connection.query is not a ...
Node.js Database
Cannot read properties of undefined (reading 'find') TypeError 27 messages
young warren ```js // inventory.js const { fishList } = require('./fish'); const { getUserInventory } = require('../../../database/mo...
Node.js
need database 33 messages
steel verge Does anyone have suggestions for good databases that aren't on a website? I used to use heidisql but can't remember how ...
Database
Unknown file extension ".ts" 22 messages
digital hearth Any idea on how to solve this? I have downloaded `typescript` and `ts-node` packages already
Node.js TypeScript
Database keeps getting messed up and it's a chaos.... 57 messages
polar skiff Error in balance command: TypeError: Cannot read properties of undefined (reading 'tag') at Object.execute (C:\Users...
Node.js Database
Mongoose Connection suddenly fails 22 messages
south prism I'm getting this error and I only updated `mongoose`, any idea why? The DB doesn't have authentication (localhost) and I...
Node.js Database
Bot randomly hangs after playing games 2 messages
silent bridge Hello, I am hoping someone smarter than me could help me with this code. It doesn't give me any errors in console, and i...
Node.js
Database return info 8 messages
indigo edge Hello, I'm trying to verify with Steam. I have a steamid and a discordid associated in the database, when I try to check...
Github help 5 messages
pastel blaze Hi everyone, I'm looking for help with github, since I've never done anything like this before. How does discordjs hav...
UND_ERR_SOCKET 6 messages
thin burrow This is caused by undici but honestly I have no idea why this is caused. I have been trying to debug this since forever ...
Node.js
Rich presence images are no longer animated? 8 messages
umbral sierra I know this isn't the best place to ask, but I'm currently trying to make myself a game rich presence via package `disco...
Node.js
How do I integrate a web socket into my client? 18 messages
south prism I mean, I'm building a dashboard and need to use a websocket to retrieve cached data from the client. Like channels from...
Node.js Browser TypeScript
Discord 0Auth 4 messages
kindred ice im working on a script that uses discord to verify users. a popup menu shows, asking them for a password, then the user ...
private message bot 4 messages
worthy yarrow Hello, I wanted to make a bot on your community, but I don't know how commands are blocked in messages that someone can,...
Node.js TypeScript
[Sqlite] Score calculation 13 messages
barren fjord I have a table for games such `games(id int primary key, name text)` and a table for reviews such `reviews(reviewerName ...
Database
Dozens of API request at the same time, what should be used? 20 messages
sick ivy Lets say i want to make 50 API requests at one second. Should i be good with concurrent promise behaviour of nodejs or i...
Node.js
Global User Count for every server the bot is in 9 messages
teal turret im trying to implement a global user count for my bot on the website (written in html and JS) but it instantly gives me...
Browser
Dashboard for discord bot 3 messages
spark mason I would like to add a website dashboard for my bot but idk how. Can someone help me pls ?
[Mongoose] ServerSelectionError even after adding Render Outbound IP Addresses 16 messages
hidden plank **Have I read the docs before going here?** -- Yes Mongo DB version: 5.9.2 Mongoose version: 8.9.5 Service Provider: Re...
Node.js Database
bot dosent reload else i restart it 57 messages
dry crypt hello guys, im having an bot reload issue as my code you can create a tip and it gets saved in a file named tips_data.js...
Node.js Database
commandFiles is not iterable 8 messages
mellow radish Hello everyone, I'm trying to code a welcome message but I don't understand what's wrong with my code. Can anyone help m...
Node.js
Need help with commands and embed messages. 2 messages
royal oxide I'm making a Database for something and i want to use discord aswell to add/remove/edit users in the database, but i can...
Node.js Database
Nodemon Question 35 messages
odd sierra Does anyone work with nodemon because im thinking to start use that? If yes did you face any issue?
Modifying Strings ✨ 7 messages
unique meteor Can i modify a string like [word]-[word] into [Word] [Word] using javascript? If yes, can somebody provide a sample code...
Node.js
client access in event 39 messages
misty minnow hey guys could someone explain my why i can access the client in my ready.ts event but its not passed through the event ...
Remote git pull suggestions 10 messages
inland mason Context: I currently have a discord.js (v14) bot hosted on a raspberry pi, which is sitting at home. I am away from home...