other-js-ts

3634 threads · Page 35 of 73

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?
Node.js
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...
Node.js
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...
Node.js
How to solve 24 messages
rough anchor https://media.discordapp.net/attachments/1193449530235031632/1194627064578457660/nexuss_nc_Staff___Console_-_Opera_1_10_...
Node.js
welcome canvas 48 messages
pearl fractal it doesn't give me any errors but the bot doesn't send the message
Node.js
Any package or method to make collage of 4 images in js? 9 messages
normal cove e
Node.js Browser
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...
Database
general question 6 messages
austere wharf anyone know how to make their ticket system do like this?
Node.js
'x' is not a function 19 messages
crisp forum ``` [ERROR] Encountered error on message command "warn" at path "C:\Users\cmart\Desktop\Discord Bots\Sapphire\src\comman...
Node.js
JSON/Module caching race condition? 5 messages
quick rapids I think I'm either severely under over overthinking this. I have a SlashCommand that simply posts a leaderboard or it ...
Node.js
Problem with running music on lavalink 2 messages
gray lichen So, bassically when on one bot instance I try to run music with a connection to lavalink using the shokuaku client, ever...
welcome canvas v14.5 12 messages
pearl fractal i don' t have problems whit the code but the bot don't write when a member join
Node.js
suggestion error 19 messages
desert hornet Somebody can help me fix this error?
Trying cron job [ node-cron ] 8 messages
keen geode trying to use cron job in node js... this is the code for it... its not logging "10 s"
Looping through array, incorrectly? 3 messages
radiant wasp The array (playerMatchHistory) clearly shows there are only 2 instances of 'player4' and there at 2 instances of 'player...
Node.js
i cant delete a role in my server but im the server owner 53 messages
primal solar can u help me someone raided my server he created a random channels and roles but i deleted them all then i check the ...
help me plz 4 messages
error in deployment 19 messages
eager jackal these my package .json when i run npm test or start it show error but when i run using node index.js it work fine please...
Invalid redirect uri 14 messages
rustic girder Getting this error while doing Discord Oauth2 ```data: { error: 'invalid_grant', error_description: 'Invalid...
Function returns empty(null) exception 3 messages
quaint sierra I am running the following function to create an account for a Moodle website: https://pastebin.com/P2h5sC9h If there ...
Node.js
Updating process env using pm2 16 messages
obsidian stump Im trying to change env a process (using pm2.restart() ex: pm2.restart(processId, {env: ... }) ) but it says `Error: Usi...
Node.js
Redis Connection Gets Closed Error 23 messages
bold kiln i am using the package ioredis with my discord bot and i have it hosted on a platform, when i use a command which is lin...
Node.js Database
Executing a class from a command 2 messages
crisp forum so I'm trying to call the AutomodListener class from a command to check if the message breaks any rule, however I cannot...
Node.js
Generate To Much File 4 messages
strong nimbus https://img.itspsd.in/u/jbKhN1.png How to slove this?
Node.js TypeScript
Ratelimit Question 12 messages
crisp forum `MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 interactionCreate listeners added to [Clien...
Node.js
Does anyone know of a site that has an API for nodejs where I can send emails from my domain? 13 messages
hardy axle Does anyone know of a site that has an API for nodejs where I can send emails from my domain?
Node.js
How to supress "fallthrough case in switch" warning 3 messages
vapid orbit I'm doing it intentionally but TypeScript is complaining :(
create channel 13 messages
misty minnow is it possible to create multiple channels withing one api request? ```ts export async function createGuildChannelServic...
regex not working well (is what I think) 26 messages
clear nimbus Hey, so I was creating this message listener that will listen for an embed from a specific bot named dank memer, and tha...
Getting Null 7 messages
rustic girder Getting null while doing Oauth2 my code: ```const [accessToken, tokenType] = [fragment.get('access_token'), fragment.g...
(MONGOOSE) Duplicated documents 41 messages
ruby robin HELP 😭 __Context__: I am making an "auto-punish" system and it consists of automatically punish a specific user after ...
Database
How to make a discord login and sowe waht server you’re I 13 messages
autumn rock How to make a discord login and sowe waht server you’re I
Node.js Browser
sendSlash Issue [discord.js-selfbot-v13] 3 messages
Node.js
rest requests 12 messages
lethal lantern ```js export async function getUserGuildPermissions(guildId, userId) { const rest = new REST({ version: '10' }).setT...
Node.js
Help me 19 messages
rough anchor ```js const axios = require('axios'); const { Client, GatewayIntentBits } = require('discord.js'); const discordToken =...
Node.js
help me 4 messages
brave crypt Can anyone fix this error for me?
Node.js
help me 2 messages
brave crypt Can anyone fix this error for me?
Node.js TypeScript
Certain amount of infractions per page 2 messages
crisp forum ```js let warnings = await db.find({ user: user.id, guild: message.guild.id, automod: flag...
Node.js
bot hosting on linux 7 messages
solemn flume I can't host my bot on Linux can someone learn me how to update node to his latest version
handler error 2 messages
hollow inlet ```js client.commands = new Collection(); const foldersPath = path.join(__dirname, 'commands'); const commandFolders = ...
Node.js
I get the error 'ERR_DLOPEN_FAILED' how can I fix it? 12 messages
flint stirrup I am using **Node.js** version **v18.17.1** and i started to get this error when changing the **VPS** server, how can i ...
Node.js
<this> reference within an object throwing an `undefined` error 6 messages
terse bay ```js { value: 10 setValue: (newValue) => this.value = newValue setSomethingElse: (somethingElse) => { this.se...
Node.js
Getting an errno when running "node ." 3 messages
still cairn I searched up and my greatest answer is that it isn't about the node itself. I'n new to this sort of problem and this is...
Node.js TypeScript
Sqlite Error 14 17 messages
rain turret (made a different post before but couldnt get an answer, so posting more code n stuff) Whenever I try to run my bot or d...
Node.js Database
help of awaitmessages 24 messages
silent citrus ``` TypeError: Cannot read properties of undefined (reading 'edit') at /home/container/src/commands/giveaway/config....
Node.js
Sending a text file when word count exceeds 2000 in Discord 56 messages
cedar otter Hey so my bot sometimes has to send more than 2000 words and Discord straight up throws an error instead of converting i...
How to define a param as a enum value in jsdoc? 11 messages
proper lance So far I have something like this for my command handler, but i'm not sure if the jsdoc is correct (the line starting wi...