other-js-ts

4043 threads · Page 18 of 81

Sending a DM at specified date and time 46 messages
unique kestrel Hi. I have a discord bot and it is supposed to set a DM (or perform any other action) on a specific date and time that I...
1081589071526240296 1081590299358412983
Date.getTime() returns far future dates 4 messages
hasty temple the following code returns a date 5400 years into the future for some reason, why is that? ```javascript await client.ch...
1081589071526240296
Discord oauth2 authorize endpoint returns "invalid_scope" 6 messages
royal escarp Here is the URL I am using from the discord oauth generator. ``` https://discord.com/oauth2/authorize?client_id=[REDACTE...
Mongoose Listener 3 messages
river silo This is hard to explain but I want to listen to my schema for any changes made outside my script because i've got two ba...
1081589071526240296
Help me with class 2 messages
modern rampart ```js class Functions { constructor(userid) { if(!userid) throw console.error('[FUNCTIONS ERROR]: Provide a user i...
1081589071526240296 1081590299358412983
discord-giveaways 16 messages
brazen horizon Good morning. Here is my reroll-giveaway code which uses discord-giveaways and which works well, but the problem is that...
1081589071526240296
distube playlist error 2 messages
silent citrus https://srcb.in/rWPvsT0sxO This is my code when i load the playlist the 1st track has been loaded but doesnt add rest of...
1081589071526240296 1081590299358412983
I need your opinion about my sequelize table 6 messages
hard iris Hello guys, right now I have a sequelize table with the guild id as primary key and a bunch of attributes that, for each...
server less api 13 messages
valid lion I've seen this server less option on Vercell where u can stream a response in http This means u can have infinite time ...
typescript error: Property 'emit' does not exist on type 'EventEmitter'. 10 messages
onyx bear Suddenly when I open my project today I get this TS error.. And it's existing code that showed no error up until now. I...
whats this 58 messages
junior pond bindings not located
How to report 2 messages
candid dove I know it’s something not related to discordjs or other js/ts packages: But I want to report a server that is selling ni...
parsing time 4 messages
royal silo hello, so let's imagine i was making a mute command, and, obviously, the mute command would require an option to mute a ...
1081589071526240296
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<...
1081589253575823411
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...
1081589071526240296 1081589253575823411
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...
1081589071526240296
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 49 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 ...
1081590299358412983
App crashed 14 messages
terminal not recognizing node.js commands 31 messages
regal patio .
.sync() - Sequelize 1 messages
winged thunder Does `.sync({ alter: true });` recreate the entire table like `.sync({ force: true });` or it still keeps the data that ...
1081590299358412983
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
1081589071526240296
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:/...
1081589071526240296 1081590447216017570
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 15 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...
1081590299358412983
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...
1081589071526240296
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
1081589071526240296 1081590299358412983
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 ?
1081589253575823411
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 ...
1081589071526240296
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 ...
1081590447216017570
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...
1081589071526240296
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...
1081589071526240296 1081590447216017570
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...
1081590299358412983
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...
1081590299358412983