other-js-ts

3634 threads · Page 17 of 73

INTERACTION ERROR 4 messages
grizzled otter how to fix at _UnionValidator.handle (/home/container/node_modules/@sapphire/shapeshift/dist/cjs/index.cjs:1854:23) ...
Welcome message pt2 4 messages
storm bobcat I’m using knack but idk what to do
Using @napi-rs/canvas library with @discordjs/core library (Discord.js v14.x) 2 messages
cyan falcon Hi, I had some issues finding this s\*\*\* so I put it here if some ppls need it. When you are using the napi-rs canvas...
Narrowing using `.filter()` without duplicate predicate 4 messages
olive crypt Is there a cleaner way to do the following where the type of `array` automatically becomes narrowed `Discord.Collection<...
TypeScript
Permissions handler function for application permissions 5 messages
viscid warren I have a function that reads the application command permissions to check if a user has permission to run the message co...
Node.js TypeScript
Store NextAuth session in MongoDB like connect-mongo 2 messages
buoyant vine I'm using next-auth and the discord provider for auth, however i am retrieving the authorising users data and guilds whi...
Extend djs Client class 4 messages
south prism is this the right way to extend the client's class with my own functions? I'm using JS and not TS btw. ```js class MyCl...
Node.js
Need help getting value from .findAll() - Sequelize 5 messages
winged thunder I want to find a way to access certain data in the database using `.findAll()`. It does return the value, but it looks l...
problem with async function 50 messages
summer wyvern Hello, i "m trying to make a search command. Here's the code: ```js } else if (subcommand === 'web') { awai...
I can't install discord.js 14.15.3 on Ubuntu 24.0.4 OS 18 messages
jagged stag Node version: 18.12.0 Python version: 3.12.3 Please help me to get installed discord.js node module.
Discord oAuth with NextJS v14 and Next-Auth v5 31 messages
buoyant vine When authorising with the scopes `guilds`, `identify` and `guilds.join`, i am not provided with the users guilds or id, ...
scheduled messages With Webhook. 26 messages
unborn marsh How would i make scheduled messages with an webhook?
Spam "Connection Timed Out" errors with Docker 2 messages
ruby dragon So, I switched to using Docker for my Discord bot a while back, and I started getting spammed with a bunch of "Connectio...
sing up to npm.js 2 messages
plush wave does npm support mailbox domains such as - hotmail, outlook or others, there is no way to create gmail.com
Iterating through data in a table 12 messages
winged thunder Is there any ways to iterate through all data of a column (or more) in a database table? For example, I want to iterate ...
Database
App crashed 14 messages
terminal not recognizing node.js commands 31 messages
regal patio .
how i can create a variable with the ".setValue" 4 messages
last knot I try to reply with a embed message but I want as answer the .setValue from my select menu I use discordjs
Node.js
CORS Access Control Issue 2 messages
naive cape ```php Access to fetch at 'https://control.sparkedhost.us/api/client/servers/<server_id>/resources' from origin 'https:/...
Node.js Browser
ConnectTimeoutError: Connect Timeout Error 3 messages
rocky lava Hello guys, i have a problem that I think concerns my network It took too long to connect and so timed it out I don't k...
Issue with .findOne() and .create() - Sequelize 16 messages
winged thunder I tried to implement a function to increase the data of an existing table. If the ID existed in the `id` column, it will...
Database
nginx and express 3 messages
karmic widget running nginx, my express app when loggin `req.secure` returns false, although ssl is enabled `app.set("trust proxy", tr...
.findOne 19 messages
pallid timber why is it not detecting is as a fn
Reload command in esm 8 messages
clear sapphire Does anyone know how to create a reload command in esm? The cache isn't accessable and I tried using hot-esm but got con...
Node.js
require-atomic-updates eslint doc example 5 messages
shut sail i found this example on https://eslint.org/docs/latest/rules/require-atomic-updates and i don't understand how it works....
I am trying to make a comand that uses bloxlink api to demote someone according to their db liras. 5 messages
safe sonnet The promotion works but the demotion wont
Node.js Database
Split a message that is longer than 2000 characters 5 messages
steady pulsar What's the best way to split a message that is longer than 2000 characters in multiple .send ?
TypeScript
canvas cant find image 2 messages
sudden juniper my code: ```js const backgroundImage = await loadImage("bg.png"); ``` error: ```js Hata oluştu: Error: ENOENT, No such ...
timezone q 14 messages
karmic widget i have got the code for a country in the format https://apps.timwhitlock.info/emoji/tables/iso3166 `🇮🇳` for india for ...
Node.js
PM2 constantly restarting the console 7 messages
slate bluff so i got an issue with pm2, it was working perfectly fine before my server updated and shut the bot down and now if i tr...
github repo 10 messages
karmic widget i have two repo, repo#1 and repo#2 having file structure, index.js config.json package.json. The config.json is unique ...
Browser
ban doesnt have a reason in audit logs 8 messages
rough bane ```js const response = await fetch(`https://discord.com/api/v10/guilds/${guildId}/bans/${userId}`, { ...
Cannot read properties of undefined...... but it is defined! 16 messages
snow canyon I have no idea what to do. I have this code in one file: ```js const config = { ... permissions: { dmP...
Node.js
Create an array with all possible combinations from a to z 2 messages
uncut axle What is the best way to create an array of all possible combinations from `a` to `z` in order of `a`, `b`, `c`...`x`, `y...
Node.js Browser
data not fetching with slashcommand 18 messages
nimble lion hey guys, the following code is trying to pull data from **MYSQL** and yes the connection is established but.. since sla...
Database
I have this mongrurl DB problem. 3 messages
static fiber ```ongoParseError: Protocol and host list are required in "mongodb+srv://LeviButron:Ninja2022@@db.tbxdzsq.mongodb.net/?r...
Database
for loop not being activated 15 messages
short trench Code: ```js const mongoClient = new MongoClient(databaseToken); const testDB = mongoClient.db("test"); const war...
Node.js Database
Canvas font error 13 messages
sturdy sierra (process:18924): Pango-WARNING **: 13:30:41.873: couldn't load font "Historic Not-Rotated 30px", falling back to "Sans N...
Issues with returning 16 messages
gilded charm I am having an issue returning data from a table sent from a API ```js const weatherData = axios.get(`API`) .the...
Node.js
Handling network errors 4 messages
deft sonnet How do i handle this network error? It happens when my router restarts and there's no internet for a bit but it's strang...
Node.js TypeScript
Discord escape masked urls? 8 messages
gaunt hemlock This is just a discord markdown question but figured i'd ask here because I cant figure it out Im trying to escape someo...
InteractionAlreadyReplied 13 messages
pallid fulcrum part of the code 1134 ```js else if (interaction.options.getSubcommand() == 'lista') { *it 1134* await inter...
Node.js
mongodb limits 7 messages
opaque skiff hi, do you know what is the rate limit of a free plan of mongodb? because I want use MongoDB Atlas for invites tracker b...
Can't add new command when connection is in closed state 2 messages
quartz anchor A function that calls to my db ```const { getPool } = require('../connect.js'); async function checkIfCountingChannelWi...
Node.js Database
Probelm while starting 3 messages
proven stratus i had this error while starting the code below, `const fs = require("node:fs") const path = require ("node:path"); co...
Best crypto price library? 3 messages
fallow grail What is the best library where I can see crypto prices for discord bot?
Node.js
Can someone help me to mention a role in a embed message 35 messages
last knot Why my role "@Krieger" is normaly red but it's white. Can someone help me? ```js .addFields( { name: '...
Node.js
mongodb limits 14 messages
opaque skiff hi, I want use mongodb for a my project but I don't know the limits of storage, because I need to use the database for a...
Database
How to proxy my Next.JS app through MITMProxy? 2 messages
heady adder Hi everyone, My Next-Auth app is throwing me a "The requested scope is invalid, unknown, or malformed." error so I wan...
Node.js TypeScript
exported cache doesn't update in other module 19 messages
onyx bear in my presenceUpdate event module I have a global cache, used to store presence data. then I have a command which is sup...
Node.js