other-js-ts

4043 threads · Page 38 of 81

Function 4 messages
mellow bear When I try to require the file, this error appears
1081589071526240296 1081590299358412983
need to terminate worker before bot exits but worker is declared in command module 16 messages
onyx bear Context: commands are located in their own modules and loaded in on bot start. one command is for OCR using tesseract.js...
1081589071526240296
most user friendly way to let user reorder studd 4 messages
crystal yacht what's the most user friendly way to let a user order things using just discord components? (i need it to let users cho...
Discord OAuth 9 messages
brave oyster Unsure whether this is the correct forum for this type of request however I may as well chance it. I am attempting to ...
Difficulty Using Mongo Schemas 8 messages
ionic ibex I'm trying to replicate a simple warning system with MongoDB as the backend database. I have a guild schema as such: ```...
HTTP Webhook not sending 5 messages
carmine agate I know this isnt specifically discord.js but can anyone tell me why this webhook isnt sending? https://gist.github.com/D...
1081589071526240296
Cron job for my discord command is not working 18 messages
silent junco Does discord.js work better with the `cron` package? or the `node-cron` package? I have a cronjob to run a command at mi...
1081589071526240296
How to Fix the "Cannot use import statement outside a module" Error? 21 messages
ocean bear First picture is mine with Error and second one is how it should be.
TypeError when interacting with API 19 messages
royal silo I've been trying to send a card to a trello board, yet the I get an error. What do I do?
1081589071526240296 1081590447216017570
(string.words.includes(message.content.toLowerCase())). 6 messages
regal frigate This only works when a single word which is in database is sent but not when in a sentence. how to make it detect the wo...
Jsdoc related question 4 messages
proper lance ```js * @param { ChatInputCommandInteraction | ButtonInteraction } interaction ``` Is this valid jsdoc for if the intera...
1081589071526240296
UND_ERR_CONNECT_TIMEOUT 12 messages
short lynx I was trying to figure out the command to ping discord servers to fix my UND_ERR_CONNECT_TIMEOUT error.
endswith 10 messages
dense igloo do you have any idea why it keeps sending me the error message when my link ends in .jpg? ```js const data = await Welco...
Permissions 5 messages
dim shadow I would like you to remember to me how do we check (into a slash command) if the interaction.user has a permission or no...
. 3 messages
fierce gazelle hi, sorry for my English but I don't know how to move around the server, I'm a guy who would like to try to create a bot...
get data inside punishments.findAll to filter by last hour 1 messages
Discord & Trello APIs 1 messages
royal silo Hello I'm trying to make a bot which you can request an award for someone. Now, I haven't figured out how autofill works...
1081589071526240296 1081590447216017570
SerialPort - Arduino School Project 15 messages
shy verge Going for some cheeky extra credit and trying to control the arduino ports 3-10 using nodeJS and I have that working jus...
trying use oath2 2 messages
scarlet pier I keep getting this error ``` SyntaxError: Unexpected token 's', "selfbots a"... is not valid JSON at JSON.parse (<a...
TypeError: Cannot read properties of undefined (reading 'createInfraction') 3 messages
worldly turtle https://srcb.in/T8YFPlzYGW
1081589071526240296
any spesific cs2 server status api 1 messages
small onyx can some1 help me
1081589071526240296
axios error 2 messages
summer eagle ```npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /home/container/node_modules/agent-base npm ERR! dest /...
1081589071526240296
Implementing redis cache with mongoose 9 messages
inland kernel Hi, I am implementing redis caching for my bot and was wondering if this would be the best way of doing it with my exist...
1081589253575823411 1081590299358412983
pls help fix error 7 messages
1081589071526240296
SetName is not functions 2 messages
1081589071526240296
how to get this working with one line? 6 messages
https://srcb.in/9QWMpKuizQ 4 messages
pearl quartz https://srcb.in/9QWMpKuizQ
Error: Member not found or created. 2 messages
1081589071526240296 1081590299358412983
Use JSON with JS 6 messages
dim shadow I would like to know how to search more quickly than that ```js let username = data["guild"]["users"][0]["username"] ``...
How to use .replace for multiple values? 2 messages
dense igloo is it possible to use `replace` to change several values at once or do you have to do it one by one? I need to replace t...
value++ not working properly 2 messages
file directory error in a reboot command 16 messages
royal silo ```js const { SlashCommandBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() ...
How do I use environment variables? 2 messages
unique fog How do I set up environment variables? so I can make it my token private
1081589071526240296
discord redirect uri 4 messages
scarlet pier I want to use express to create a callback route that gets a user ID and guilds so I can create a bot dashboard, any poi...
What should a Mongo_URI be? 9 messages
mint willow I'm hosting my DB on my old PC and I can connect to it from my main PC (Compass) But I'm having issues with my discord b...
1081589253575823411 1081590299358412983
Python To Javascript 4 messages
warm jacinth not a djs doubt but, how can i implement python code in javascript code I mean like: I have a server setup in a python ...
1081589071526240296 1081590299358412983
TruckersMP VTC API 4 messages
austere wharf https://sourceb.in/NqMEgE7c4W Is this correct? With this code i want to change it to make it to where it will send upda...
1081589071526240296
Can you use discord RPC inside a browser extension? 1 messages
spare trout I want to use RPC using a browser extension instead of a desktop app, just to set rich presence for certain websites. H...
1081590447216017570
canvas 8 messages
candid dove is there an easy way to manipulate am image through canvas instead of editing it and test it and so on?
1081589071526240296
JS Loop 7 messages
mild rock Hope your well, Just needed help with regards of a loop. I'm currently making an authentication code system for a disco...
Displaying an optional argument that's an attachment in an embed 3 messages
royal silo Hello, attached below is my code. ```js const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); module.exp...
1081589071526240296
Javascript to Javascript Object Notation 4 messages
dim shadow Hello, I would like to know if using ```js var data = require('./data.json'); ``` is a good way to take datas from a *ja...
./file.js 7 messages
wraith quest ./file.js for same directory and ../file.js for parent directory, but what if i have yet another folder? doesnt work wit...
eval comand result 10 messages
dense igloo How can I just get this result in my eval.js command : `/eval code:interaction.guild.roles.cache.find(c => c.id == "1158...
1081589071526240296
How to solve 24 messages
rough anchor https://media.discordapp.net/attachments/1193449530235031632/1194627064578457660/nexuss_nc_Staff___Console_-_Opera_1_10_...
1081589071526240296
welcome canvas 48 messages
pearl fractal it doesn't give me any errors but the bot doesn't send the message
1081589071526240296
Any package or method to make collage of 4 images in js? 9 messages
normal cove e
1081589071526240296 1081590447216017570
Using google forms api 1 messages
keen geode I need to write a code that accesses a google form/quiz made by me and it has to access the responses given by other use...
1081589071526240296
getting data from inside a response 3 messages
deep valve I'm using `console.log(JSON.stringify(response.data))` and receive this however once I am unable to get a property insid...
1081590299358412983
general question 6 messages
austere wharf anyone know how to make their ticket system do like this?
1081589071526240296