other-js-ts

4043 threads · Page 41 of 81

developersId.includes is not a function 27 messages
opaque skiff ```js async run(interaction) { if (!developersId.includes(interaction.member.id)) { const rEmbe...
Canvas problem 2 messages
plucky bison ```js const playerscard = await kartcek('path', randomnamesagain) console.log(playerscard) const can...
1081589071526240296
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...
1081589071526240296
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
canvas not working 1 messages
merry hedge why does this code not result in printing the word "Profile" on the picture? ```js const canvas = Canvas.create...
The code does not change the new number 1 messages
dark tundra embed part ```js const args = msg.content.trim().split(/ +/g); let num = args[1]; if (num === un...
1081589071526240296
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...
1081589071526240296 1081590299358412983
"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...
1081589071526240296 1081590299358412983
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...
1081589071526240296 1081590299358412983
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
1081589071526240296
How to change something string to number in mongoodb 5 messages
vital yacht How to change something string to number in mongoodb
1081589071526240296
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...
Embeds 1 messages
bright whale So I am using a database to store some punishments for a game. I was wondering if its possible for each thing so Game Ba...
1081589071526240296 1081590299358412983
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...
1081589071526240296
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...
1081589071526240296
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...
1081589071526240296
Custom EmbedBuilder function not showing/working as it should 30 messages
zinc lark .
1081589071526240296
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...
1081589071526240296
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...
1081589071526240296
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...
1081589253575823411
Slash command issue 100 messages
1081589071526240296
Express + Custom header 3 messages
covert crater Is it possible to use a custom header with express?
Memory Leak 16 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...
1081589071526240296
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...
1081589071526240296
help pls 13 messages
flint widget help
1081590299358412983
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...
1081589071526240296 1081590299358412983
Google Sheets 87 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...
1081589071526240296 1081590299358412983
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...
1081589071526240296
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 15 messages
stone agate Config Loaded prefix: - (node:12416) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a use...
1081589071526240296
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...
1081589071526240296
Problem with typescript interfaces 8 messages
steel pilot ```ts export interface MusicOptions { requiresVc: boolean; requiresPlaying: boolean; requiresDjRole: boolean; } i...
1081589253575823411
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?
1081589071526240296
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 ...
Cannot find module '@/utils/Strings' or its corresponding type declarations 1 messages
thorn sand `tsconfig.json`: ```json { "compilerOptions": { "target": "ESNext", "module": "NodeNext", "moduleRe...
Discord events typing for event handler 8 messages
delicate wasp Heyo there ! 👋 ```ts import { Awaitable, Client, ClientEvents, Events } from "discord.js"; import { DiscordEvents } fro...
1081589071526240296 1081589253575823411
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...