other-js-ts

3634 threads · Page 27 of 73

MongoDB not connecting timeout error 30 messages
deep badger Hello I am encountering this error and I need help
What happened with my IDE 35 messages
flint pagoda my ide doesnt suggest properties or functions of params
I get unhandledRejection instead of catch block 3 messages
floral hamlet I'm trying to create error handling for commands. I want errors to be handled directly in the command handler instead of...
Node.js
loading ts commands (require) 5 messages
topaz spoke js has require like ```js for (const file of commandFiles) { const command = require(file); if ...
TypeScript
Discord Extrem List Bad Gateaway 2 messages
crystal hedge ```js const discordExtremeListURL = "https://api.discordextremelist.xyz/v2" superagent .post(discordExtremeL...
Node.js
Why is the variable `runs_hit` not functioning properly? 17 messages
forest fable https://srcb.in/HbbTDk5GI2
Node.js
i need a bot dev 6 messages
gleaming remnant how much for you to make me a small bot with Welcome - Goodbye Tickets Giveaway Embed maker Counting Ai Chat Auto Role ...
i have a big error i cant fix 5 messages
No username on Image 27 messages
ionic cipher HelpMe
Node.js
Hello there is any solution for discords cdn expires images ? 5 messages
vital yacht Hello there is any solution for discords cdn expires images ?
Node.js
Stop code 3 messages
mossy pelican ```js try { const collectionReference = collection(firestoreDB,"Roblox Verification") //const final...
Workflow infinite loop 9 messages
royal silo So I setup a new workflow in my github repo which runs `npm ci` and then runs `npm run start` (This basically just runs ...
TS 45 messages
flint pine I'm trying to learn typescript by recoding one of my js bots but completely in ts. However, as ts compiles the code into...
TypeScript
badges are undefined 2 messages
worldly token https://pastebin.com/g87625dp it knows that there's badges, but it returns undefined in the embed
Node.js
varible not defined idfk 5 messages
proper lily trying to make a function on my discord bot where it pings someone at a specific time and it stops once it reachs max no...
Node.js Database
Docker run error SQLITE3 6 messages
umbral bloom this is the error i am getting: ```terminal Error: /app/node_modules/sqlite3/build/Release/node_sqlite3.node: invalid E...
Node.js Database
Randomly shuffle letters in string? 5 messages
gleaming spade Hey! I'm making a word scramble game, so I'm trying to shuffle the letters in a string. I have this code (which kinda wo...
is typescript better than javascript at developing discord bots? 7 messages
mint cosmos typescript sounds picky ._.
why? 28 messages
Node.js Database
How would I go by this? 2 messages
mystic belfry Hello, I have a string option with a choice and the value of that choice is a discord server ID. I want to use mongoose ...
Database
PlexTickets addon (check what i said) 12 messages
shadow oriole hey anyone can help me how can i add to my custom addon the "message checker" function? It's PlexTickets addon but the o...
Could not find any Visual Studio installation to use 65 messages
deep badger I am getting this error when I am trying to install the @discordjs/opus package, any fix?
How to calculate permissions given by discord in Javascript? 7 messages
royal escarp I need to see if a user have the ADMINISTRATOR permission in a server when they login via Oauth2. I use the ``/users/@me...
Fetching MongoDB data takes forever? 22 messages
trail junco ```ts this.container.logger.info(5); if (!interaction.inCachedGuild()) return; await interaction.deferReply({ ephemera...
Node.js Database
i want to change a variable inside an async 13 messages
odd lotus ```js let variable = true console.log(variable) // returns true collector.on("collect", async (message) => { variab...
Node.js
Map out nested objects in an array to be used in a d.js embed 25 messages
radiant dove Im trying to display a users logs and in my user schema i have them being logged as an array, i want to map out this arr...
Node.js
Removing Multiple \n from a string 2 messages
rare terrace I want to remove all `\n` from a string and replace them with only one. IE. In text that looks like this ``` Hello ...
Node.js TypeScript
ENum Values into Union for Array Validation 12 messages
zenith onyx Hello, I want to use an ENum, and dynamically use that to validate Array contents, as well as other things, e.g: ```js e...
TypeScript
Listening to Expressjs response through djs 2 messages
cosmic merlin so im trying to recieve data from an expressjs server i have running locally for now. Discord.js ```js const serverEmit...
Canvas Image not showing up 9 messages
keen geode So I'm using `[email protected]` & `node v18.4.2` I use it to create an image to welcome new members Today I opened it after...
Node.js
Is it possible to do REST requests in the browser? 43 messages
plush compass I saw a file called `web.ts` in the [`@discordjs/rest`](https://github.com/discordjs/discord.js/tree/main/packages/rest/...
Browser TypeScript
background on canvas chart.js has no color 3 messages
Node.js
TypeError: Cannot read properties of undefined (reading 'toLowerCase') 26 messages
vernal nova TypeError: Cannot read properties of undefined (reading 'toLowerCase') here https://sourceb.in/Ie5rdPwhVM
Node.js
Puppeteer 13 messages
mossy pelican Hello I am currently trying to find a way to get a players roblox status from Roblox. I am trying to use puppetter to do...
Node.js Browser
function arguments/parameters error 36 messages
fickle rock in general, for some reason my function takes the values of the second argument if the first one was not specified, the ...
Sequelize: Aliases and ManyToMany(?) associations 16 messages
onyx dove I'm running a database for my bot with the classes `Match` and `Team`. Each match object should be associated with two t...
i need help 13 messages
tiny dawn Recently i wanted to create a discord bot without any coding skills. i asked chat gpt and i ended up havin this code: ...
Node.js
Discloud hosting 2 messages
west gust I wanted to ask if the discloud.config will have all of my secret keys or just thoes mentioned (attached picture) and th...
Node.js Browser Database
array not saving 15 messages
willow stone let msgComponents = msg.components; msgComponents.forEach((component) => { component.components.forEach((component2...
Can't for the life of me push to Github/Git 7 messages
tame olive I was attempting to make my project open source (for the people I work with to send to), however, git console keeps tell...
Node.js
Cannot find module error 8 messages
obtuse ginkgo ```PS C:\Users\Shadow\Desktop\luminous-bot> node order.js node:internal/modules/cjs/loader:1145 throw err; ^ Error:...
Does Discord document anywhere what restrictions a required modal field value has? 6 messages
slow pond I'm currently refactoring some code with modals, and I'm not sure what to test and not test for when fetching a `require...
Node.js
[ REGEX CODE ] 5 messages
broken blade ```js const patternn = /<:.+?:(\d+)> • ` ` • `(\w+)` <:.+?:(\d+)> `G•(\d+) ` \*\*(\w+)\*\* • \*(\w+)\*/; //...
Can a (malicious) user access bot commands through some sort of web API? 25 messages
rugged pike Not a strictly discordjs question but related to discord bot API in general. Essentially the question is, if the bot is...
Multiple Events in one file 3 messages
weak crystal Im using typescript, I want to know if its possible to have and export multiple events from one file
Sequelize sudden error 3 messages
lone pond My bot was running without any problems since few months and now I got this error from Sequelize. I did not change a thi...
wh Api error 400. | Discord api. 13 messages
fickle rock ```js const { api } = require("../api/api"); class Channel { #token; constructor(token, messageId, channelId) { ...
Node.js
Cooldown package 18 messages
Trouble installing SQLITE3 on Pi 2 10 messages
rain turret The progress bar gets to the end and then it kind of just freezes. If it gets interrupted it yells at me. It's stopped a...
Database
Error: Server responded with 404 6 messages
harsh cradle can you advise me as to what this error could be and how I could solve it?
Node.js