other-js-ts

3634 threads · Page 37 of 73

findOme is undefined 2 messages
opaque skiff hi, I get this error, con anyone tell me what I did wrong? https://pastecord.com/nudelezare.javascript
Missing execute property 4 messages
rain turret When i try to deploy commands while trying to fetch "foodingredients" from modules.export, i get an error when it is run...
Node.js
Type generic question 59 messages
celest hill I might need some help on that one The goal: Create a type union for all interaction possible. Then using this type, c...
nodemon on raspberri pi os 16 messages
solemn flume how to install nodemon on a raspberri pi 4
splice array object 5 messages
dense igloo I can't delete an object in an array that I select with its "name", do you have any ideas? This code always deletes th...
Node.js Database
"sync" is not a Sequelize function 8 messages
rain turret I was following the tutorial to add a database using SQLite and Sequelize [here](<https://discordjs.guide/sequelize/#cre...
Node.js Database
Race Condition 2 messages
misty minnow I have a quick question, how can I intercept race conditions in a slashcommand. My bot allows to reserve something. If n...
getting all specific quick.db database users and data for leaderboard command. 56 messages
worldly rose Hey, so I'm making a leaderboard money slash command. And i want to get all specific databases starts with `money_${inte...
Node.js Database
I have an error with my topsale command 2 messages
crimson quest ```js const Discord = require("discord.js"); const { EmbedBuilder } = require('discord.js'); module.exports = { nam...
Can Someone Help me ? 2 messages
cyan remnant Please help with this
Cannot read undefined 'name' 7 messages
ruby dragon ```js const model = mongoose.model('autoShard'); let description = ``; try { const data = await model.fin...
Canvas Pango-WARNING 18 messages
fallow grail please help, not adding font to image and using some bad one https://srcb.in/hVKHODQOhm
Node.js
How to change something string to number in mongoodb 5 messages
vital yacht How to change something string to number in mongoodb
Node.js
Mapping and Filtering(How It Works) 3 messages
proper tusk ## Mapping & Filtering 😭 Hey there, I’m Oreo! Your friendly / non-friendly nerd dumb head. Anyway, I’m having trouble w...
Get stuff from a message 16 messages
crisp forum Basically I have a rule command which displays the provided rule, so I recently thought about if it is possible to autom...
Node.js
cb() is not a function 4 messages
ember grail Hello! I have this error when I try to skip a music in my music bot. It doesn't have any path to any of my bot files, so...
Node.js
TypeError 4 messages
opaque skiff ```js module.exports = (existing, local) => { const changed = (a, b) => JSON.stringify(a) !== JSON.stringify(b); ...
mysql Query 32 messages
maiden hare ```js main.con.query("SELECT * FROM Servers WHERE ServerID = ?",[messageReaction.message.guild.id], function (err, resul...
Node.js
Custom EmbedBuilder function not showing/working as it should 30 messages
zinc lark .
Node.js
Error While Install npm i 2 messages
rough anchor permission denied how to solve this
Unexpected token }, but no idea why 3 messages
grizzled cloud I am trying to make a slash command in my bot. For some reason it insists that the second to last `}` that closes out my...
Node.js
I need a DB for my DB any recommended? 5 messages
last knot Hey I am a beginner programmer and I try to learn how to use DB. But wich one I use js.
sqlite3 not installing 10 messages
misty trellis I type in `npm i sqlite3` and it starts downloading. it gets stuck on one file for like 10 minutes or something saying l...
Node.js
NonNullable utility type 63 messages
thorn sand <@615761944154210305>
I need help making prefix commands 2 messages
reef socket Hello, can anyone help me with prefix commands, I'm a bit of a beginner, I've seen videos, but they're all in slash, can...
TypeScript
Slash command issue 94 messages
Node.js
Express + Custom header 3 messages
covert crater Is it possible to use a custom header with express?
Memory Leak 15 messages
Animated Roulette Game (Canvas & GIFencoder) 7 messages
obsidian stump Hello, I'm on my way to complete an animated roulette game using gifencoder. But I was unable to match the roulette spi...
Node.js
Module not found 7 messages
sharp pelican trying to call another file I made in the same directory but i keep getting this error: ```node:internal/modules/cjs/loa...
Node.js
help pls 13 messages
flint widget help
Database
ColorResolvable Issues 2 messages
thorn sand # `types/prisma.d.ts` ```ts declare namespace PrismaJson { export interface Settings { status: string; themeCo...
help 4 messages
crimson quest hi I have a problem with my code I got this as an error /home/container/Events/ready.js:65 const channelId = c...
Node.js Database
Google Sheets 85 messages
restive sentinel How would I make a command read and edit a google sheet database? I want a command to add a user to the database, and on...
Node.js Database
Error code 800A03EA 14 messages
rough crane I get this error while attempting to run my index.js file during an setup for the discord bot i'm setting up. Image is g...
Node.js
Why is my Math.Random giving me digits over my max? 2 messages
umbral sable So, I did `Math.floor(Math.random() * 300)`, but I can still get numbers way over 300. I got 600 in this example, how is...
Error 25 messages
restive sentinel I am trying to make a simple /ping command.
Help 13 messages
stone agate Config Loaded prefix: - (node:12416) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a use...
Node.js
conversationLogMap is not differentiating with ``message.author.id`` 12 messages
north gulch ```js const conversationLogMap = new Map(); let content = message.content; let authorId = message.author.id...
Node.js
Problem with typescript interfaces 8 messages
steel pilot ```ts export interface MusicOptions { requiresVc: boolean; requiresPlaying: boolean; requiresDjRole: boolean; } i...
TypeScript
Any suggestions with a discord music bot library for lavalink what does not use youtube. 7 messages
small hearth Any suggestions with a discord music bot library for lavalink what does not use youtube?
Node.js
Function returning pending Promise 5 messages
nimble oak this function is supposed to return `1` when the "Confirm" button is clicked, except it's returning a pending Promise ...
Discord events typing for event handler 9 messages
delicate wasp Heyo there ! 👋 ```ts import { Awaitable, Client, ClientEvents, Events } from "discord.js"; import { DiscordEvents } fro...
Node.js TypeScript
canvas & djs 42 messages
autumn hare yo im trying to make something with canvas but i really dont know how to xD main.js ```js const { createCanvas, loadIma...
Discord Rich Presence feature 2 messages
wispy minnow I want to add a little extra feature on Discord's Spotify rich presence, but I'm not finding anything about editing a al...
How can i make loop for create a new embed every 10 obj in the array?? 4 messages
uneven lodge pls answer with example code
CANVAS ASAP 16 messages
primal wave can someone help me i want to make a canva display a name like a title and the event date using discord.js slash command...
Embedding a image 5 messages
peak maple So ive made a discord bot and an api for the website so when you do /upload attachment it saves the image in a folder, i...
Node.js Browser
is there a way to make this so if there is 5 in a row, it creates a new line for the next five and s 6 messages
warm summit # is there a way to make this so if there is 5 in a row, it creates a new line for the next five and so on? this is my ...
error 8 messages
deft cloud ``` const userDetail = await userSchema.findOne({userId: message.author.id}) || {hunt: 0, battle: 0, owo: 0, battleXp...