other-js-ts

3634 threads · Page 20 of 73

bot Dashboard help 54 messages
sterile forum I've looked at all the classes available for the Discord API and I'm not sure how best to approach my problem. I'm curre...
Collectors Implementation issue 45 messages
carmine stump I've been using `@discordjs/core` and I need to implement collectors. I came across [this example](https://github.com/TA...
TypeScript
Reg expression help with Javascript 16 messages
prisma abyss Well... I just need some help with extracting big string and split them into individual substrings or arrays. Let say I...
Using constants from a command in index.js 39 messages
sage ore How would I use this user constant from the command, in the 2nd script? (Different files) ```js const { Events, time, Ti...
Questions via DM 12 messages
orchid gulch How can I send the questions to the user individually via DM server and the next question should not be asked until the ...
Node.js
Send NextResponse.json then process further 10 messages
heady adder Hi everyone, I'm making a small project in NextJS and I'm using the `api/some/random/url/route.ts` file to handle calls ...
Node.js TypeScript
help me 15 messages
merry vapor how to fix it
Node.js
Problem with an event 10 messages
Node.js Database
How to host a bot that was written in Typescript? 4 messages
sour grotto I have everything ready, even the server. Just not sure about what the steps are.
TypeScript
Fetching tags with specific data in Sequelize 36 messages
sage ore How do I fetch all tags that have a specific value and how do I get the data that is paired with that tag?
Node.js Database
how can i install nvm ?? 53 messages
merry vapor hellppp
Node.js
djs msg fetch error and more issue 8 messages
bold kiln ```ts const sentCh = await interaction.guild?.channels.fetch(existing.regChID) as TextChannel; ...
TypeScript
Implementing a Modal Help 5 messages
junior remnant Im trying to work with modals to enhance UI, but everytime I press the button to initiate the modal, it would load it up...
Browser TypeScript
Bot not being recognized and my profile is not getting active developer badge. 25 messages
wicked lake Hello, I am a new discord developer and I was creating a new bot for moderation purpose for a couple of server and I did...
Roblox group gamepass price chage 29 messages
tough sentinel https://sourceb.in/ibjt6I3R83 cmd code https://sourceb.in/SSIR5gfgQU errors
Node.js
module.exports help 11 messages
hasty temple I'm getting started with Javascript. What is causing this error/what is the issue: `(node:24300) Warning: Accessing non-...
Node.js
Using the client on separate threads for expensive operations 9 messages
charred spear I have an expensive command which syncs the bot up with its message channels, requiring it to go through each message an...
Node.js
hmm can someone help me to fix my error 56 messages
MongooseError 7 messages
tough sentinel Ello
Database
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...
Node.js Browser
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...
Node.js
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...
Node.js Database
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...
Node.js
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
Node.js Database
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...
Node.js
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...
Node.js Database
problem with a xp system 10 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,...
Node.js Database
Hi, I created this bot by doing the steps in the picture, though it didn't enable slash commands. If 5 messages
scarlet fractal .
Browser
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 ...
TypeScript
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?
Node.js
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?
Node.js
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
Node.js TypeScript
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?
Node.js
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...
Node.js Database
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...
Node.js
[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...
Node.js TypeScript
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...
TypeScript Database
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...
Node.js
error occurred while running 22 messages
Node.js
HTML to JS 16 messages
sage ore I have this HTML website "code": ```html <html> <head> <title>LAPD panel - login</title> </head> <bo...
Node.js Browser
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...
Node.js Browser
A variable is returning 0... 2 messages
azure pine ```js const previousTime = data.cultivatingStart; const currentTime = Date.now(); let cultivatingTime = Math...
Database
How to merge custom `Event`s into the `Events` enum? 2 messages
midnight saffron My title describes the issue.
TypeScript
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...
Node.js TypeScript
send a message when an if is executed 3 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...
Node.js
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...
TypeScript
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...
TypeScript