other-js-ts

4043 threads · Page 37 of 81

check if object with multiple properties, has value in specific property 8 messages
cold plank to save space, im holding interaction options in a collection of objects, and only want people to provide a color value ...
maps 11 messages
blazing willow do javascript maps use hashing on a low level?
How to wait an image to load in an embed message ? 7 messages
chrome charm Hey, hope you are doing good, I encounter a problem with my project : I have an api that sends a dynamically generated i...
1081589253575823411
Issue with TypeScript and create discord-bot 1 messages
sly basin Ran `npm create discord-bot .` to get started. Selected TypeScript option. Ran `npm run build` and got the following err...
1081589253575823411
removing the first letter from a variable 10 messages
high coral Is there any difference in this code for removing the first letter from the variable? In this case, emojis. ```js const...
node:internal/process/promises:288 1 messages
vague oracle hello there! i have this node error node:internal/process/promises:288 triggerUncaughtException(err, true ...
1081589071526240296
slash command with menu or option from MYSQL DB 12 messages
novel thorn Hello I am trying to make a discord bot with slash command its working no issue but i want to add option for the comman...
1081589071526240296
pterodactyl error 400 4 messages
rough anchor how to solve this
1081589071526240296
interaction.client.commands TS Error 3 messages
worldly hamlet ```js import express, {Request, Response} from 'express'; import crypto from 'crypto'; import fetch from 'node-fetch'; i...
Buttons in NestJS 3 messages
candid minnow Hello everyone, ``` @Handler() @IsDiscordTeam() async onAskQuestionImage(@InteractionEvent() interaction: CommandI...
1081589253575823411
API from my Discord bot 16 messages
strange ruin Is there any easy way to implement an API on my d.js bot so whenever someone visits my website I can make a call from th...
1081589071526240296
problems with typescript 8 messages
uncut bridge i keep getting those TS errors which i never had. error: ```js E:\discord bots\DrJak\TS-Rebuilt\node_modules\string-wid...
1081589253575823411
Help with discord.js-rpc 5 messages
compact dawn I need to add a photo to the activity, I have reformatted the photo to 512 pixels and it works fine, I get the correct u...
Error in ready.js file 18 messages
pastel isle await mongoose.connect(mongoURL || ``, { ^^^^^ SyntaxError: await is only valid in async functions and the top level bo...
too complicated to fit into title 8 messages
slate mountain I am struggling with this very interesting quark of typescript.. I am unable to get an abstract method in an abstract c...
1081589253575823411
API 2 messages
royal silo I'm trying to use another bot's API which has a database of verified roblox users connected to their discord id, and I'm...
1081590447216017570
Discord Dashboard using express 1 messages
topaz vortex Is there any good tutorials about how to make a dashboard for the bot with express?
error i've never encountered before 33 messages
uncut bridge hey, getting this error for the first time in my entire life, i've never got this before. my bot runs on TS. ```js Erro...
Remove bot's mention from message 21 messages
crisp forum I'm currently trying to remove my bot's mention from `message.content` and just return the rest of the text, here's the ...
1081589071526240296
Limiting CPU usage 4 messages
cold siren Can I force a childworker to only use a single CPU/limit the amount of the CPU is can use? ```js const child =...
1081589071526240296
config help 17 messages
maiden bone whats the problem here?
I need help getting my compiled code to run correctly. 31 messages
ruby widget ```json { "name": "felix-bot", "version": "1.2.0", "description": "Felix discord Bot :3", "main": "dist/...
1081589071526240296 1081589253575823411
Regex grabbing all but the first invite 1 messages
radiant wasp I'm using the InvitePattern regex from discord.js however it is logging all of the invites except the first one. In the ...
1081589071526240296
this if array check returns last value, how to get it working like the bottom commented-out line? 15 messages
general thoughts? 43 messages
hardy python ok guys, on a pretty intersting learning curve Thanks for the help> I18N and typescript look like are on the books to le...
ESM MODULES IMPORT FAILURE 627 messages
1081589071526240296
Problem directories.map() 16 messages
restive grove directories.map is not a function
1081589071526240296
Problem is directories.map() 2 messages
restive grove directories.map is not a function
1081589071526240296
Music/play command. createQueue not a function error 3 messages
hazy basin i am making a music bot and i am having some trouble with playing music
1081589071526240296
How to render canvas image faster 1 messages
quartz zephyr I want my bot makes the image faster
trello card id 9 messages
royal silo hello, i'm trying to make it so when my code reaches this part of the code, it makes a new card on the trello. now, i al...
1081589071526240296 1081590447216017570
ES6 modules giving trouble when importing 109 messages
tidal coral This is too specific problem to google. I have this issue when trying to collect data from ./config.json, into deploy.js...
does any one have any idea on how i would save like 2 or 3 embed for each user in a mongodb ? 2 messages
safe sonnet does any one have any idea on how i would save like 2 or 3 embed for each user in a mongodb ?
1081589071526240296 1081590299358412983
waiting before proceeding 16 messages
royal silo how would i make it so before my code proceeds further, it has to wait for 2 seconds, and only then goes to the next lin...
modifying document after drop down use 74 messages
deep valve g'day, i've just finished coding all of my settings drop-down menus and am wondering how I could create a schema for eac...
1081590299358412983
How do I get json format instead of html ? with reddit mems 16 messages
latent hound hello I am quite new to discord.js and js itself can someone help me to solve this issue ? The error: ```SyntaxError: Un...
Do all Discord bots that support per-server configuration have to query the database so often? 34 messages
shy lintel Do all Discord bots that support per-server configuration have to query the database to obtain the configuration of the ...
interaction.member.voice.channel.setLimit(anzahlValue); is not a function 3 messages
tacit fjord I want to the limit of user that can join a channel per button
how to get discord.js to not read the code inside of a string 3 messages
meager hare rn i need to have the code in the message for the reply, but it's reading the code inside the string, so its giving erro...
1081589071526240296
Reddit status 403 error code 28 messages
dim glacier ```js const { SlashCommandBuilder } = require('@discordjs/builders'); const { EmbedBuilder } = require('discord.js'); //...
Found 97 errors in the same file, starting at: node_modules/discord.js/typings/index.d.ts:1210 26 messages
flat mauve I updated ts to latest version, and discord.js@latest I'm not sure what's going on?
package 5 messages
warm holly hey i try install package but that is impossible, see error : ```js npm install @nodegui/nodegui up to date, audited 27...
1081589071526240296
Discord gateway payload issue 65 messages
wanton tusk I'm trying to make a bot with only Websocket through the discord gateway, what I'm stuck on is how to make the bot creat...
1081589071526240296
CORS Error when using require() 5 messages
dim shadow I am using js for web developpement right now, and I would like to know why do I get a CORS Error when I use require() i...
bot not responding to dms 7 messages
uneven nacelle why isn't my bot responding to dms? the issue is with the inner conditional btw: the logic is wrong but idk what's wrong...
1081589071526240296 1081589253575823411
sh: line 1: rimraf: command not found 8 messages
tidal tulip Thats the command to run my discord.js typescript lavalink music bot, but there's that error
1081589071526240296 1081590447216017570 1081589253575823411
node-schedule running announcement message 27 messages
thorn harbor I am trying to use node-schedule in order to schedule DnD session reminder announcements. I created a function that runs...
1081589071526240296
Delete MongoDB document after time 15 messages
woeful gull Hello, I have a guildSchema with stuff defined as: https://sourceb.in/dBnOTyeDDO What I want to achieve is: when my bot...
1081590299358412983
[ERR_UNSUPPORTED_ESM_URL_SCHEME] 2 messages
jade halo Hello! I am working on trying to create an application however I keep running into this error! ```console Error [ERR_UN...
Discord crashing when stream window size is changed. 3 messages
wanton bobcat Discord crashes when I start watching a stream and try to maximize or resize the discord window. I took copy of log befo...