other-js-ts

4043 threads · Page 34 of 81

REST API 5 messages
daring ermine Does the @discordjs/rest API handle the rate limits and queue requests when reaching their limit, like discord JS or I r...
Run multiple bots in the same code 3 messages
obsidian surge I have discord.js code that has to run several bots in the same code. Because I sell each bot separately, some bots seem...
I want help with these errors 2 messages
plain junco ```node npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@discordjs/collection@0.7.0', container...
1081589071526240296
Error: Failed to convert JavaScript value `Undefined` into rust type `String` 20 messages
mental smelt I get error in my following code: https://pastebin.com/raw/z09TNyN4 ```js Error: Failed to convert JavaScript value `Und...
1081589071526240296
does anyone know chart library ? 4 messages
molten urchin for bot purpose
1081589071526240296
Registering slash commands 2 messages
frank gale Basically I was registering my slash commands but after running it in the terminal, it gave me the following message
1081589071526240296
mess.createMessageComponentCollecter is not a function ? 18 messages
night thicket im making a gamble command and whenever i run the command i get this error
discord-api-types and tree-shaking 4 messages
umbral kraken using `esbuild@0.20.0` and `discord-api-types@0.37.69`, is there a proper way to tree-shake it so I actually only get th...
1081589071526240296
Is there anything wrong with having a 10-20MB variable? 4 messages
oak warren I have a community bot that tracks things that happen in a game we play. Kills, deaths, loots etc. The database for thos...
1081589071526240296 1081590299358412983
coinflip command error 9 messages
night thicket im trying to add a coinflip command but everytime i run the command this happens, i had it kinda working earlier but it ...
TS module augmentation 1 messages
violet arch where should these declare module statements be? in the file where i set that property or maybe somewhere unified so all...
1081589253575823411
"profileModel.findOneAndUpdate is not a function" 12 messages
night thicket i get this error whever i try to use my donate command
Can't figure out how to send DMS 8 messages
oak cedar I was trying to send a dm to myself for debugging but im not receiving any message, and my user is null: ```ts import { ...
discordbot as systemd service 2 messages
coarse schooner Heyo i have my bot on a linux server. Its located in a subuser that i called "discordbot". I can run it fine when spinni...
Only allow to interact with our own dashboards 7 messages
subtle blade I want to disallow others from interacting with a interaction that they do not own/did not create themselves. I am ins...
profileData not defined ? 54 messages
night thicket working on a economy bot with MongoDB and im trying to get the databases of user balances working but its saying profile...
1081590299358412983
"module not found" 21 messages
night thicket whenver i run my index.js it says module not found
1081589071526240296
unhandled rejection 71 messages
wraith quest what happens if i enable this? if i dont have it, the bot crashes and stops everything completely, but if i add it, will...
Export Problem 9 messages
plucky bison Hi How can I use const client = new Client in the another file. I export it but when I logged it, got undefined.
Channel ID not showing up on mongodb 1 messages
pliant turtle Catagory works just fine, channel isn’t showing up & it looks completely fine to me (without errors ofc)
1081589071526240296 1081590299358412983
How do I go about getting the current Epoch time and making it compatible with discord epoch sending 2 messages
fickle gulch i'm not really familiar with how discord requires the epoch numbers so some pointers are appreciated!
1081589071526240296
How to install Node JS without admin rights 1 messages
nocturne tinsel Hello i want to know if it's possible to install node JS without admin rights please
1081589071526240296
what is this 20 messages
wraith quest there's something really strange here that i don't understand, if i bring up 2 interactions at the same time and each of...
cant access localhost:8000 1 messages
frozen burrow ```js const { Client, GatewayIntentBits } = require('discord.js'); const axios = require('axios'); const client = new C...
1081589071526240296
returning 9 messages
wraith quest hey i learned that returning with `.catch(error => return)` only returns there and not from the rest of the file, but wh...
JSON Parse error 28 messages
calm lynx Hey, so I'm trying to make a meme command which gets a random meme from r/memes with node fetch and I'm getting this err...
1081589071526240296
Fetching data from discord coming out as gibberish 17 messages
wanton tusk I was trying to get a guild's name using guild id but when I did a fetch request it comes out as gibberish, I'm using we...
1081589071526240296
speach to text 1 messages
compact junco Hello Is there any NPM package that what does simply it just takes a read-write stream, and read it, and this read stre...
[WARNING] The command at [command path] is missing a required "data" or "execute" property. 8 messages
rapid dome my code is ```js const { ActionRowBuilder, ModalBuilder, TextInputBuilder, TextInputStyle, ActionRow } = require('discor...
1081589071526240296
NODEJS TO EXE 1 messages
warm holly hello, I have created an application with nodeJS and I would like to know what is the best way to pack everything into 1...
1081589071526240296
Data Not Found 15 messages
1081589071526240296 1081590299358412983
GitHub Email Protection 57 messages
crisp forum How to disable GitHub Email Protection?
1081589071526240296
Git Error 2 messages
crisp forum it's my first time using Git and this error happend when I tried to Commit the files for the first time, how to fix it?
1081589071526240296
GitHub Discord Webhook 7 messages
crisp forum How to use the GitHub webhook that sends a message through a webhook when the code is updated
1081589071526240296
Better SQlite-3 support server? 4 messages
eager hinge Is there a Better SQlite-3 support server? We are having trouble with this module and cannot find it anywhere
1081590299358412983
return to [] for already-existing variables 6 messages
wraith quest ```js const [moderator, violator, reporter] = await usersFetch(interaction) ``` how can i return to [] like this for alr...
loop 2 messages
1081589071526240296
Database schemas, Mysql optimization 17 messages
autumn pumice Hey guys, I'm having trouble with two models, so let me explain. My previous version has a Player table with ~200 colu...
1081590299358412983
postgresql auth error with discord bot set up on webhost 2 messages
empty ocean ```js node:os:347 throw new ERR_SYSTEM_ERROR(ctx); ^ SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv...
BigInt 31 messages
rustic cairn ok, so i have a backup command, or at least im trying to, and this is the code to save it to a file ```js //Save data to...
1081589071526240296
Don't know what this error is 29 messages
rustic cairn hey, so im getting another error, https://pastebin.com/Q6Xdp6DC this is my purge message code, but for some reason im ge...
ShardManager for DEV and PROD environment 23 messages
digital wedge Hello there, is it possible to use the ShardManager for both, development and production environment with typescript? `...
1081589253575823411
regex not working 58 messages
wraith quest any idea what im doing wrong?
await before or in function 4 messages
wraith quest should i use await before or in the function?
Upload files from VSC to GitHub 6 messages
crisp forum What would be the correct way of doing what it says on the title? And how to automatically edit the code on GitHub when ...
1081589071526240296
Stop pm2 process 16 messages
keen geode So my bot is hosted on a vps using pm2 and i want to make a terminate command this is what I have rn Command File: ```js...
1081589071526240296
Node-GYP error 15 messages
1081589071526240296
pkg problem 1 messages
hasty crag I want to convert .js file to .exe. I installed pkg and typed in terminal `npx pkg index.js --target win`, but it says `...
1081589071526240296
My String name does not get saved in my Array "Values". 7 messages
versed nexus Can some1 tells me why my d.name does not get save in my array "values" . ``` const data = await testSchem...
1081589071526240296
batch 3 messages
wraith quest anyone got an idea what im doing wrong here? it isnt writing the console log to the text file but it does write the rest...