other-js-ts

4043 threads · Page 39 of 81

'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...
1081589071526240296
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 ...
1081589071526240296
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...
Code error model.deleteMany no long accepts callback 1 messages
austere wharf https://sourceb.in/bhAa59lMVz
1081589071526240296
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
1081589071526240296
Buffer has nullbytes from nowhere 1 messages
1081589071526240296
How to get MYSQL data and sort it in JS? 1 messages
lapis jay I am having trouble with sorting data from a MariaDB database in a JS code. In Discord.js, I'm attempting to set up a l...
1081589071526240296 1081590299358412983
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"
Error when trying to run bot 2 messages
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...
1081589071526240296
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 5 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 ...
1081589071526240296
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...
1081589071526240296
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...
1081589071526240296 1081590299358412983
Swipe for level 1 messages
red knot ```js const xpPerLevel = [ { level: 0 , xpRequired: 0 }, { level: 1 , xpRequired: 480 }, { level: 2 , xpRequ...
1081589071526240296 1081590299358412983
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...
1081589071526240296
Generate To Much File 4 messages
strong nimbus https://img.itspsd.in/u/jbKhN1.png How to slove this?
1081589071526240296 1081589253575823411
Ratelimit Question 12 messages
crisp forum `MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 interactionCreate listeners added to [Clien...
1081589071526240296
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?
1081589071526240296
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 40 messages
ruby robin HELP 😭 __Context__: I am making an "auto-punish" system and it consists of automatically punish a specific user after ...
1081590299358412983
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
1081589071526240296 1081590447216017570
sendSlash Issue [discord.js-selfbot-v13] 4 messages
1081589071526240296
Can someone help me 1 messages
modest elk i get this error but i don't have any problem wih my code
rest requests 12 messages
lethal lantern ```js export async function getUserGuildPermissions(guildId, userId) { const rest = new REST({ version: '10' }).setT...
1081589071526240296
Help me 19 messages
rough anchor ```js const axios = require('axios'); const { Client, GatewayIntentBits } = require('discord.js'); const discordToken =...
1081589071526240296
help me 4 messages
brave crypt Can anyone fix this error for me?
1081589071526240296
help me 2 messages
brave crypt Can anyone fix this error for me?
1081589071526240296 1081589253575823411
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...
1081589071526240296
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 = ...
1081589071526240296
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 ...
1081589071526240296
<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...
1081589071526240296
Canvas registerFont error 1 messages
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...
1081589071526240296 1081589253575823411
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...
1081589071526240296 1081590299358412983
help of awaitmessages 24 messages
silent citrus ``` TypeError: Cannot read properties of undefined (reading 'edit') at /home/container/src/commands/giveaway/config....
1081589071526240296
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...
node_modules size 2 messages
ivory bay I've been experimenting with package.json, however im running into something I can't explain. Below are two different pa...
1081589071526240296
Sequelize 8 messages
cobalt glacier Does anyone now how i get the all values from one column in a mariadb with Sequelize?
1081589071526240296 1081590299358412983
The reason returned by the audit log is null 1 messages
eternal radish Hello, I made a code which allows you to load the GuildBanAdd type audit logs, everything works, the only problem is tha...
setMaxListeners() 18 messages
heady patio How do I increase the maxListeners? I get this error: `MaxListenersExceededWarning: Possible EventEmitter memory leak de...