other-js-ts

3634 threads · Page 15 of 73

API url isn’t valid 7 messages
stoic marsh Hi! I created a random picture command that does not work. I assume the problem is that the url isnt found. I dont know ...
Browser
retrieve tweet content with puppeteer 3 messages
Javascript object misbehaving 10 messages
twilit trail I have no clue why this is happening
Node.js Database
tunnel between discord js app with rest & localtunnel 4 messages
golden stream I want to handle all my bot interactions in a laravel project by setting a interaction endpoint URL. as everything is l...
Cannot seem to add my bot to a server 7 messages
cerulean bobcat I'm assuming this is agnostic to discord.js, so I'm posting it here; for some reason, whether I use the auth link to add...
Node.js
405 (Method Not Allowed) 6 messages
desert sphinx I'm trying to make a simple test by using a form to send a message to Discord, but it always returns the error listed in...
Node.js Browser
Delete Database Entries 28 messages
frozen oasis Does someone perhaps got an idea on how I can remove database entries via djs? Like check the guild id and then delete t...
Node.js TypeScript Database
MongoDB question 38 messages
twilit trail A bit of an embarassing question here but my code makes a collection called users but..
Database
fix embeds of twitch clips 55 messages
onyx bear <@691111067807514685> there we go
Node.js
How to set up two bots on same machine 10 messages
polar ibex Hello all, I'm sure this is a very rookie question.If I want to build a second bot, do I need to put its files in that s...
Hosting error 8 messages
twilit trail getting this error message from my hosting console
discord dm app 11 messages
proper thunder can someone help me make this bot work in any dm as i linked it to my account but wont work sadly.. I have been trying t...
Node.js
DataBase error 67 messages
twilit trail Im getting a Unhandled Error event Error but im stumped on what is causing it
does anyone know why i might be getting the error `Property 'x' does not exist on type 'Vector_2'` 2 messages
rain hound ```js class Vector_2 { constructor(x: Number, y: Number) { this.x = x; this.y = y; } } ```
ok thanks another question how to get the second args like this!role user [thisone] 6 messages
plucky forge ok thanks another question how to get the second args like this !role user [thisone]
Getting the name of a folder 2 messages
snow canyon I want to easily get the name of the folder the current file is in, and nothing else. This works fine on Windows on Vis...
Node.js
MongoDB question 99 messages
twilit trail I need help with saving a schema instance to the database
Node.js Database
help with gTTS 5 messages
upbeat dagger I have this tts command that works but it stops working, apparently stops listening if i try to use it after I run my mu...
Update triggering if statement (discord.js) 18 messages
glacial ice Hello everyone. I wanna log if something changed on discord.js event e.g. channelUpdate I want basically a change log fo...
Node.js TypeScript
Debug Undici 11 messages
thin burrow so discord.js uses undici on the backend and I've been having connection issues so I want to debug it. I've added a sta...
Node.js
IntelliSense issues 39 messages
twilit trail I was told adding @param would give me access to Intellisense
Node.js
Error: Unsupported image type 9 messages
uneven nacelle The files are PNG. Yes, the file paths are correct. No, the files are not corrupt. Yes, I have Canvas' latest version in...
Node.js TypeScript
When the dependency won't take no for an answer 13 messages
crimson bolt Help my package.json file will not let me uninstall or delete this dependency. It just readds it when the file is saved....
Node.js
Help, mongodb 7 messages
balmy adder Code - https://sourceb.in/4Am1G6FSC9 Error - https://sourceb.in/6fJ1cHfaNt
Node.js Database
json file 5 messages
opaque skiff hi, if I have json file and I modify it with “fs”, I need to restart the bot to update the changes? for example if I mak...
Role not found 15 messages
balmy adder I need the bot to check which role it should assign via mongoose by clicking on the button and find it and issue it, but...
Node.js Database
Need help with this error i keep getting in console 6 messages
regal oasis https://i.imgur.com/2A5Je1E.png anyone know how to fix?
Node.js
I keep getting this error every single time 10 messages
signal raven so i made a marketplace system and when you make a post twice it bugs out ill send the errors as messages
Node.js
Need a tl;dr on how jsoncofig.json is supposed to work. 21 messages
dire niche tl;dr - Refactoring some code, trying to tidy things up since I have imports that look like `../../../../somefolder/some...
Node.js
How can I stream a website in real-time using commands? 2 messages
void quest Hello, does anyone know a way to transmit a stream in real time from a web. I mean that I mendiante a command add the ur...
My function returns "undefined" 5 messages
flint parrot Hello, as I said my function is returning "undefined", but I don't really know what is wrong. Here is my code: ```js c...
Node.js
linking external modules 31 messages
twilit trail I made a warn.js with a module.export but I dont know how to link it back to my index.js file
Node.js
Make string with Unicode emojis work in Discord masked links 7 messages
tulip loom I have an interesting dilemma I'm adding a feature to my bot similar to Saucy, where it'll automatically convert twitter...
Creating a Sea of Thieves chronicle canvas, help? 7 messages
wind stirrup I have made a canvas to look like the Sea of Thieves chronicle banners, but I think it is a bit messy. Does anyone have ...
Node.js TypeScript Database
How would I catch an undefined value and say they aren't registered? 6 messages
ancient spruce This is the if catching the undefined value. ```js if (userid === "undefined") { interaction.editReply( ...
.env issues only on vps 33 messages
obtuse ginkgo Hey, I'm having an issue that my vps isn't recognising any values in my .env. The file is there and its downloaded on th...
Node.js
perms discord api 5 messages
karmic widget hi, how would permissions checking work? i read the developer docs on permissions `0x0000000010000000` is a hexadecimal ...
Node.js
Getting "{"message": "401: Unauthorized", "code": 0}" when trying to get list of channels 8 messages
buoyant remnant Hi all, pulling my hair out here, I am trying to get a list of channels but I keep getting the error '{"message": "401: ...
Quick question 6 messages
hard iris Quick question, why is discord js better than discord py ? What are the differences ? A lot of people say that, since I'...
bug in sending reply with .catch or .then 10 messages
spiral hedge hello this is my code: ```js await user.send({embeds: [emb]}).catch(() => { return interaction.editReply...
Weird problems with my bot 6 messages
ebon oyster My bot is a public level bot in around 9000 guilds. (It's growing fast, like +30-50 guilds a day) It uses "internal shar...
Broad JS Question 8 messages
onyx vale What is the difference between how NodeJS and Python installs modules? I’m installing modules on JS and I got system inf...
Discord guide repo clone and problems 6 messages
bold kiln ```sh @X7889 ➜ /workspaces/guide (main) $ yarn run dev yarn run v1.22.22 $ vuepress dev guide info Initializing VuePress...
Node.js TypeScript
Application 36 messages
vocal parrot So I'm creating a Discord Applications function where if you do /apply, it dms you with questions. Initially it works bu...
Don't let OAuth2 refresh tokens expire after usage 6 messages
high saffron I want to save the refresh token in the users cookies, so that the user doesn't have to login every time again. However,...
Node.js
Create backups on bot hosting 5 messages
slender geode what am i doing wrong? i cant get it to make a backup of the json.sqlite file in my directory ```js const filePath = pat...
Node.js Database
Collection causing freezing issues 4 messages
crisp solstice Hey guys, I am having some issues with once a collection hits around 50 sets, my process freezes and all my timeouts and...
Node.js TypeScript
canva text 36 messages
sturdy sierra any body can solve this ? when i try to put the font in the corner first calculate the x and y in pixlr or canvas.com a...
Async function error 23 messages
white merlin I get this error, someone can help me?
Adding package.json into .gitignore 7 messages
austere tundra Am I supposed to put `package.json` and `package-lock.json` into `.gitignore` ?