other-js-ts

3634 threads · Page 31 of 73

does anyone know chart library ? 4 messages
molten urchin for bot purpose
Node.js
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
Node.js
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 `[email protected]` and `[email protected]`, is there a proper way to tree-shake it so I actually only get th...
Node.js
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...
Node.js Database
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 ...
"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...
Database
"module not found" 21 messages
night thicket whenver i run my index.js it says module not found
Node.js
unhandled rejection 72 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.
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!
Node.js
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...
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...
Node.js
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...
Node.js
[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...
Node.js
Data Not Found 16 messages
Node.js Database
GitHub Email Protection 57 messages
crisp forum How to disable GitHub Email Protection?
Node.js
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?
Node.js
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
Node.js
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
Database
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...
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...
Database
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...
Node.js
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? `...
TypeScript
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 ...
Node.js
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...
Node.js
Node-GYP error 15 messages
Node.js
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...
Node.js
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...
Discord OAUTH2 7 messages
drifting pewter I am trying to access users linked accounts. I am testing it out with local host however it just results in a error wher...
Node.js Browser
Run .JS discord bot on Ubuntu VPS 24/7 7 messages
wispy ermine Hi. Today I wrote a code for Discord bot using .JS so it can assign a role after you type a command. It works on my desk...
Node.js
Reloading a class on a new file after bot already initialized. 2 messages
crisp solstice Hey y'all, my bot I am running runs off of a bunch of different managers and classes that hold different functions for e...
Node.js TypeScript
Matching the start of a message with a string in a database (MongoDB) 55 messages
wooden lotus This is taken from <#986520997006032896>, as I was told the question was better suited to here. So I don't have to retyp...
Database
websocket help | Discord api 7 messages
digital badge ```js const https = require("https"); const WebSocket = require('ws'); class Client { constructor(token, options) { ...
hi guys i just need to know how to format a number with commas according to the western methodlike 8 messages
distant ledge the title is kinda self explanatory
Node.js
Request from Mongoose 4 messages
rough pebble this is my current code! I get all data and then I check if `client.guild.cache.has(guildId)` I want to know how can I d...
Database
translator 5 messages
wraith quest is there a way to implement google translate or some other translation functionality in discord.js
function in variable? 26 messages
wraith quest is there any way i can do it like this so i dont have to write the same function twice?
how does it write to const here 8 messages
wraith quest could someone please help me understand why it's able to write to this const variable? shouldn't it be var/let?
Continuing on with conversion of event listeners to dedicated functions 3 messages
zealous river Continuing onward from this post: https://discord.com/channels/222078108977594368/824411059443204127/120460049217355779...
patching with an api 13 messages
heavy garnet hi
Node.js