other-js-ts

4043 threads · Page 44 of 81

Error: Could not locate the bindings file. 10 messages
Types for TS 13 messages
misty minnow Hi Im converting my js bot to ts and I want to ask how can I get the types of the discord.js lib
What am I doing wrong here? 11 messages
eternal tundra ```js import { Schema, model, Document } from "mongoose"; interface IGuild extends Document { memberId: string; tic...
1081589253575823411 1081590299358412983
Topgg API receivebot statistics 4 messages
river silo Does anyone knowwhere I can find topgg's api on npm that allows me to request the clients data, I've attempted to use ax...
Limiting total values across multiple arrays and distributing 6 messages
1081589071526240296
Any good tutorials to learn how to make a dashboard ? 8 messages
forest imp Hey, I’m looking to know how to make bots dashboards. I master discord bot developpement and I know how to make apis.
NPM RUN BUILD Not Working 10 messages
wind mountain My "npm run build" isn't working because it can't find the module. It doesn't seem to be proprerly generating the dist ...
1081589071526240296 1081589253575823411
Parallel processing of long running commands 3 messages
urban pine Hello, I am looking for strategies to implement a high tolerance for parallelism in processing commands. For example, I...
saving/updating JSON value in sequilise 15 messages
torn mural I am trying to save this edited json value but my current methods are not working. There’s no errors.
1081589071526240296 1081590299358412983
twice message problem 8 messages
loud root So I have an issue where the bot sends the message twice. I already checked everything in the code and even did a check ...
1081589253575823411
Property 'id' does not exist on type 'never' .ts(2339) 26 messages
eternal tundra **I was trying to convert this:**```js if ( !lastCheckedVid || (latestVideo.id.split(":")[2] !== lastChe...
1081589253575823411 1081590299358412983
Eval Not Recognizing Input 38 messages
maiden lotus As Seen In The Image My Eval Command Wont Work As It Should, It Can Math But Cant Do Other Here Is The Code If Thats Any...
1081589071526240296
Schemas in main file 34 messages
mossy pelican ```let cooldown = walktopoland.findOne({ ^ TypeError: walktopoland.findOne is not a functio...
No _id 10 messages
covert crater Hello, is there any option to actually disable the creation of a `_id` property when creating new data with mongoose? (I...
1081589071526240296 1081589253575823411 1081590299358412983
What to do if the message that the bot is listening to gets deleted? (collector for buttons) 33 messages
eternal tundra What would you guys recommend me to do?
1081589253575823411
Typescript checks npm package when it shouldn't 3 messages
lone wagon Okay, so here is my tsconfig: ```json { "compilerOptions": { "outDir": "lib", "declarationDir": "types", "...
Need help retrieving lyrics from genius lyrics api 4 messages
woeful gull Hello, so I am currently trying to retrieve lyrics using genius lyrics api and axios. But I am struggling and I don't kn...
1081589071526240296 1081590447216017570
How to Unlink a GitHub repo from a copied project folder in VSC? 27 messages
true spire Hello, I have a Discord bot project I track on GitHub, and I copied the folder to make a separate bot - however it is s...
Data stream 24 messages
hardy elm is it possible to have a function "return" multiple points of data or like a data stream in node.js?
How to code when i need to replace ![] 13 messages
fair panther replace(/![]/g,'1') doesn't works but replace(/!/g,'1') works if i want to replace [] how can i do it
syntax problems in javascript 37 messages
weary python creating this post for <@832427422653480990>
how can i parse line by line like a this string in js 2 messages
1081589071526240296
how to replace a specific Array content 25 messages
worldly rose So I'm making a user badges thing and using .toArray() function in this so whenever it gives more than one badge it does...
How can I use a For loop in a method description? 9 messages
flint pelican How to insert a for loop into the description? ```js embeds: [ new EmbedBuilder() ...
Need a little help with TS 45 messages
eternal tundra ```js import type { Message, Client } from "discord.js"; import type { CommandKit } from "commandkit"; import { Channel...
1081589253575823411
function calls exponentially more times each time 8 messages
weary python i have a website with a load() and submit() function. the load() function has an event listener which calls the submit f...
ForEach loop loop no. control? 11 messages
torn mural ```js await sorted.forEach((data, i) => { let Values = `${i+1}. **${data["username"]}** has **${data...
1081589071526240296
canvas install error 3 messages
1081589253575823411
resolveJsonModule not working 7 messages
1081589253575823411
Webhook Issue 400 Bad Request 3 messages
error handling 2 messages
Fetch stuck, never resolves 1 messages
1081589071526240296 1081589253575823411
Cogs? In Discord.js? Any advice please :) 6 messages
Handler Error 2 messages
1081589071526240296
'Module not found' error. 32 messages
1081589071526240296
ERR_DLPOPEN_FAILED 5 messages
1081589071526240296
Regex 27 messages
1081589071526240296
How to properly extend Client to use client.commands ? 16 messages
delicate wasp I tried extending the Client to use client.commands but I still get an error while compiling, I dont understand how to m...
1081589253575823411
findIndex problem 7 messages
How to default export an object of an interface type in TS 54 messages
1081589071526240296 1081589253575823411
Html and JavaScript 10 messages
short pollen I barely have any clue on how to code on JavaScript I follow YouTube to code my pages. I followed this video where he ma...
1081590447216017570
What is this error ? why I get this error every day? 3 messages
1081589071526240296
Cant get the collect command to work 13 messages
1081589071526240296 1081590299358412983
running python in node.js 65 messages
pseudo stone ```js function runpy(username){ var dataToSend; const python = spawn('python', ['verify.py']); python.stdout.on('data'...
Add-shop-item command doesnt work 10 messages
1081589071526240296 1081590299358412983
.find() ? - mongodb 2 messages
Typescript config issue? 6 messages
1081589253575823411
i have an unfound module error 2 messages
1081589071526240296
Discord-html-transcripts 2 messages
difficulties translating between requiring modules and importing them 8 messages