other-js-ts

4043 threads · Page 22 of 81

MongooseError 7 messages
tough sentinel Ello
1081590299358412983
How can I edit interaction.update, because if I use interaction.editReply it edits followUp 3 messages
fast wigeon How can I edit interaction.update, because if I use interaction.editReply it edits followUp
error from get refresh token in pwsh 4 messages
dreamy sinew Using powershell I run the code to grab the `refresh_token` for `spotify`. But I can't do it and I don't know why. I'm d...
1081589071526240296 1081590447216017570
JSON.parse 2 messages
mossy pelican ```js const testJSON = `{"description":"My granny called, she said, \"Billy, you work too hard I'm worried you forget a...
1081589071526240296
how to use thisArg.updateFunction 5 messages
brave shuttle ```js try { var negate = n % 2 == 1 && x < 0; if(negate) x = -x; var possible = Math.pow(x, 1 / n); n = Math.pow(possibl...
Use Multiple Discord Bots to Use Same Application 6 messages
supple shuttle I just wanted to know: - If I can change the bots details for particular servers? (Suppose bot name changed to "A" on a...
1081589071526240296 1081590299358412983
WebStorm 3 messages
warm sky Does anyone happen to know a way to get webstorm to actually index packages you have installed into your project? It's w...
1081589071526240296
Why isn’t my bot name updating? 8 messages
jovial slate I changed the name from my bot, as well as the description. The description updated almost immediately but even after an...
I'm making a public bot for everyone, but I get an error:The user is invalid or does not have an ID 14 messages
candid kayak https://sourceb.in/CxZv93KhNu
1081589071526240296 1081590299358412983
Why won't my bot respond "Hi!"? When someone says hi? 27 messages
jovial slate I think that it may be a probken with the bot being online, because the bot appears offline in my servers. It's not an a...
1081589071526240296
Read below 12 messages
last knot Can someone explain me how I can combine my discord js ping command with a db. I create a dbconnection event but now I d...
1081589071526240296 1081590299358412983
problem with a xp system 17 messages
hallow root Hello, excuse me to the person who can give me a little of their time but, I have a problem that frustrates me a little,...
1081589071526240296 1081590299358412983
Hi, I created this bot by doing the steps in the picture, though it didn't enable slash commands. If 5 messages
scarlet fractal .
1081590447216017570
TS says that value can be a number even though it can't 12 messages
hallow plank I have this interface which extends the native D.JS `ClientEvents`: ```ts export interface ExtendedClientEvents extends ...
1081589253575823411
Host multiple bot on same server 12 messages
craggy pelican Hey ! I want to Host a lot of discord bot on the same dedicated server, how can i do that?
1081589071526240296
Given values from file to file 2 messages
severe sandal How to give values from an src/commands/moderation/ban.js to an src/events/adminLogs/banLog.js?
1081589071526240296
random CPU spikes, only errors are generated by undici 1 messages
main flax title self explanatory, but we're having a recurring issue with our bot randomly hitting 100% CPU. when i manage to get ...
1081589071526240296
Is it normal for a 14k guild bot to use 81gb ram? 72 messages
tawny panther now i upgraded node.js v to 22 but very high usage
1081589071526240296 1081589253575823411
gpt api memory 5 messages
heavy garnet messing around with gpt's api using the openai lib, curious if its possible to make it remember past conversations?
1081589071526240296
Error handling message: TypeError: Cannot read properties of undefined (reading 'findOne') 8 messages
sturdy sigil hi can you help me? it gives me this error: “Error handling message: TypeError: Cannot read properties of undefined (rea...
1081589071526240296 1081590299358412983
Error when node bot.js 5 messages
craggy pelican Hey, I don't really know anything about it so I came to ask for help here, I followed a tutorial to set up a discord bot...
1081589071526240296
Node running my bot times out when trying to connect to Discord server 1 messages
mild gust It looks latency between my bot server and Discord server has increased recently over Node's timeout limit?? nothing cha...
1081589071526240296
[Solved] Slash commands not registering 11 messages
wet tide Discordjs v14.8 Sorry I'm not very familar with node, ts, nor discord js. I'm trying to run a bot that was running in o...
1081589071526240296 1081589253575823411
How to add and remove a field from a sqlite database with the `sequelize.update()` function? 9 messages
midnight saffron I have a pronoun handling bot, and I am implementing a per-server pronoun menu. If I understand correctly, this is how I...
1081589253575823411 1081590299358412983
npm problem 3 messages
storm kraken C:\Users\Administrator\Desktop\music bot>npm install better-sqlite3 npm warn config key `key` and `cert` are no longer u...
1081589071526240296
error occurred while running 22 messages
1081589071526240296
index.js running when it isn't supposed to? 1 messages
warm sky No idea why this happens, but I setup a script in `package.json` that registers my commands when needed: ```json "scri...
1081589071526240296 1081589253575823411
Map values not being set 1 messages
heady crow I'm building a mute command for my bot Params: User ID, Time There's also a config entry with a list of guild IDs The p...
1081589071526240296
HTML to JS 16 messages
sage ore I have this HTML website "code": ```html <html> <head> <title>LAPD panel - login</title> </head> <bo...
1081589071526240296 1081590447216017570
variable is returning NaN 1 messages
frosty yoke ```js module.exports = { data: new SlashCommandBuilder() .setName('c') .setDescription(''), asyn...
Dashboard not working 15 messages
mystic lotus Hi everyone, I'm trying to make a dash for a discord bot (in javascript) but I'm having problems with oauth2 which gives...
1081589071526240296 1081590447216017570
A variable is returning 0... 2 messages
azure pine ```js const previousTime = data.cultivatingStart; const currentTime = Date.now(); let cultivatingTime = Math...
1081590299358412983
ffmpeg error ! 1 messages
tawdry lagoon hey guys i download ffmpeg but i still getting this error when my bot try to play a sound file !
1081589071526240296
How to merge custom `Event`s into the `Events` enum? 2 messages
midnight saffron My title describes the issue.
1081589253575823411
[opinion needed] Splitting data fetching to repositories 1 messages
tawdry quarry 👋 ⚠️ I post that here because it a way related to djs but isn't a problem with djs itself, more a reflexion of structur...
1081589071526240296 1081590299358412983
pnpm workspace import package err in vs code 22 messages
dreamy sinew I have a project on monorepo (turborepo, turbo.build). When importing any package I get a ts error as if it does not see...
1081589071526240296 1081589253575823411
Canvas help 1 messages
fallow grail How to load a gif image as background?
1081589071526240296
can't see the command on the server 2 messages
send a message when an if is executed 8 messages
opaque skiff hi, I have a file with an `if` and I want that when the `if` get triggered the bot follow up to a message sent with a co...
1081589071526240296
Warning: Detected unsettled top-level await 12 messages
midnight saffron Hi, I am trying to refactor my code to be more modern. I used create-discord-bot, and upon trying to add the discord eve...
1081589253575823411
scramble command 4 messages
vernal galleon I am trying to create a scramble command within my server, I already have scrambles in the server that happen every 10 m...
1081589253575823411
Hosting a bot on NAS Synology 37 messages
prisma abyss Does anybody know how and please show me the details and steps if possible. Thanks.
problem with fetch 17 messages
crimson kite There was an error: TypeError: Cannot read properties of undefined (reading 'fetch')
how to add inner glow? 2 messages
quartz zephyr anyone know how to add inner glow in canvas on a image
1081589071526240296
[Mongoose] .findOne is not a function 10 messages
azure pine Hello! # Command ```js async execute(interaction) { const data = await schema.findOne({ User: interaction.user.id }...
Changed to a VPS and now cant access mongodb 99 messages
How do I get rid of 5 moderate severity vulnerabilities? 4 messages
west flint npm audit fix did not work
serialising sets in javascript 14 messages
pine kiln Is there any way to serialise a set so that it can be rebuilt without having to rehash the entries and rebuild the struc...
env file not working 9 messages
ancient spruce just following a tutorial and isn't working out
1081589071526240296
[Discord API] Question: What is "Time to reset" when fetching 5 <sth> equals to? 7 messages
marsh widget How is this time calculated? Is there a fixed value and what is it equal to? For example, I try to get 6 users, but I ge...