other-js-ts

3634 threads · Page 33 of 73

generating random numbers and letters 6 messages
royal silo hello, how would i generate a random string of letters and numbers betwen hyphens so for example; `string1-string2-strin...
Node.js
Recommendations for Starter Templates? 3 messages
thick olive Hi all! New to discord.js, very familiar with JS/TS. I'm interested in writing a bot, and was hoping that the Discord.js...
Node.js TypeScript
when i start the cmd and loading full then it stop why ? 3 messages
trying to uninstall yt-dlp 4 messages
thin thorn I am trying to uninstall yt-dlp but it still gives me errors even when it is not in my packages files
Node.js
Custom Serialization: Handling Non-Self Circular References 38 messages
sly forge I created custom de/serialization functions so that no data is lost. So far, it works perfectly even when it has a refer...
TypeScript
Randomly Increasing memory 2 messages
sullen orbit I was chilling writing code, then all of a sudden when i compiled and ran, nothing worked. No buttons and cmds nothing i...
Node.js
_this is not defined 15 messages
primal socket We switched to typescript and now we have following problem in thos code snippet: ```ts //Imagine Errorhandler is consol...
Node.js TypeScript
console 7 messages
kind belfry How to return console messages?
Keep getting this same error on my VPS 56 messages
keen geode when I did `npm i`
Is there a working passport strategy for Xbox live stuff (I need: xuid, gamertag) 2 messages
mild shuttle Thanks for helping <3
Node.js
Discord.js 6 messages
open dawn How can I keep my bot active 24/7 in vsc, paid or free?
Chart Generator 3 messages
timid breach Is there any chart generator but in img format with js api
Error: TypeError: discordClient.assignRoleAndSendConfirmation is not a function 12 messages
modern raven Not sure, why I am getting this error, Let me know if anyone knows how to go about it.
Random image on embed 4 messages
rough anchor How to do like this if i ping bot then it show an image and if i ping once more then it image will change How to do thi...
MongoDB 10 messages
vapid kayak I've been trying to connect my bot to MongoDB and it's worked with the VS Code extension. But, when I try to start my di...
Node.js
database 11 messages
high coral Hi. Which library will be the most optimal for connecting to the MySQL database? - mysql - discordjs-mysql - sequelize ...
command with database 9 messages
ornate monolith Hello, i tried to use database and i want to do a command for lock channel with database, when i do /lock "channel" "rea...
db.query is not a function 29 messages
ornate monolith Hello, I have a problem with my db when I make my command I have this error that appears, `db.query is not a function` ...
error [email protected] 59 messages
azure vessel Hello Comunity, Was today trying to use discord.js but ran into an error. Got this error, "error [email protected]: Th...
Reconnect to MySQL Database 3 messages
rare terrace Hey guys. If the bot isn't used for a while, it loses connection to the database. I've got the database connection in ...
Node.js TypeScript Database
Who knows the paid market API? 3 messages
Node.js
select menu handling problem 5 messages
bold kiln interactionCreate event:- ```js module.exports = { name: "interactionCreate", async execute(interaction, client) { ...
Node.js
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...
TypeScript
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...
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...
Node.js
pterodactyl error 400 4 messages
rough anchor how to solve this
Node.js
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...
TypeScript
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...
Node.js
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...
TypeScript
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...
TypeScript
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...
Browser
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 ...
Node.js
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 =...
Node.js
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/...
Node.js TypeScript
this if array check returns last value, how to get it working like the bottom commented-out line? 4 messages
general thoughts? 18 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 583 messages
Node.js
Problem directories.map() 16 messages
restive grove directories.map is not a function
Node.js
Problem is directories.map() 2 messages
restive grove directories.map is not a function
Node.js
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
Node.js
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...
Node.js Browser
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 ?
Node.js Database