other-js-ts

3634 threads · Page 39 of 73

pulling from the config file with a name i pulled from message? 15 messages
maiden hare I'm trying to grab the Emoji name and then pull the name from the config file how the best way to do this ```json "flags...
Editing JSON Files through fs 8 messages
feral kelp I'm editing json files but sometimes it gets like the picture I uploaded in the attachment
quick.db fetch datas (leaderboard) error. 8 messages
worldly rose So i encountered this error: ```js /home/runner/Learning-Programming/node_modules/quick.db/out/index.js:200 ...
Node.js Database
pls fix 6 messages
autumn rock thank you
Node.js
Implementing console.log but for interaction.reply 34 messages
cedar otter So umhh if i were to lets say make an eval() command and want the output to be like how console.log shows in the console...
super.user() error 30 messages
opal leaf ```import fs from "fs"; import Client from "../Interfaces/Client.js"; import Command from "../Interfaces/Command.js"; im...
Guys in my code the 1 is being logged before the query gets executed completely 5 messages
normal cove I want it that first the query gets executed completely then it goes outside the callback function
Node.js Database
Prettier VSC Extension 2 messages
crisp forum What's are the best settings for Prettier?
Node.js
Optimization 5 messages
crisp forum Would this be considered as optimization? .
Node.js
I haven't text in my canvas 3 messages
mystic creek ```js const { SlashCommandBuilder } = require('discord.js'); const { createCanvas, loadImage } = require('@napi-rs/canva...
Node.js
Syntax Error NPM Package: node-os-utils 24 messages
near wren Hey so I want to make a Command that shows Stats about the Bot but sadly I get an error and I dont know how to fix it......
Detect similar usernames through JS (Normalise String) 18 messages
nimble wagon Hello guys! there has been some trouble in some servers where users were attempting to impersonate users by changing the...
Node.js TypeScript
TypeError: db.fetch is not a function 27 messages
worldly rose So I'm using quick.db as well as i used `db.fetch()` method and i get the error: ```js TypeError: db.fetch is not a func...
Node.js Database
Help with the REST API 11 messages
analog thicket I followed this tutorial https://discordjs.guide/popular-topics/canvas.html#adding-in-text and now I want to send the im...
Node.js TypeScript
How can i better console? 3 messages
deft cloud i wanna create a conole like --------------------------------------- | Command Type | Name | True/false | | Command Typ...
Create Own Event 24 messages
deft cloud i wanna create my own event like ```client.on("myOwn", (etc, etc, etc) => {})``` how can i do?
Node.js
Cannot find module 5 messages
dreamy sinew ```cmd [2023-12-01 04:48:30] error: Error: ai_processing [2023-12-01 04:48:30] error: Error: Cannot find module '../../t...
TypeScript
property doesnt exist 27 messages
willow kestrel how do i fix this
How to get the returned values? 28 messages
eternal tundra ```js const {b_Success, r_Timeout, t_Timeout} = await timeoutMember(author.id)``````Property 'b_Success' does not exist ...
TypeScript
Help 2 messages
rough fiber So, i locally hosted a bot on my computer. I switched it to a hosting. I use the /setup command which initiates the db t...
Error when transpiling 4 messages
TypeScript
MySql connection problem 24 messages
Help node-fetch error 5 messages
rough fiber TypeError: Only absolute URLs are supported at getNodeRequestOptions (C:\Users\User\Desktop\Holaclient manager\Manag...
Node.js Browser
Leaderboard rankings not displaying accurate numbers 15 messages
carmine basin I want to display a users ranking for the leaderboard in the footer section of the embed so that even if theyre not list...
Node.js
Hello i want some help with my bump command the cooldown isn't working the bot isn't saving the new 2 messages
vital yacht Hello i want some help with my bump command the cooldown isn't working the bot isn't saving the new bump time ( no error...
Node.js
Pls help 3 messages
tame walrus Node error
Image editing 2 messages
sullen prairie How to edit a image in node js
How to properly shutdown a bot? 35 messages
gentle sable I want to e.g. execute `await client.destroy();` upon doing Ctrl+C so that my Discord.js bot can properly shut down. Sin...
Code continues even though I have await in front of the delay 34 messages
eternal tundra ```js if ( (!contentLC.startsWith("!something") || !contentLC.toLocaleLowerCase().includes("something"...
MySQL 3 messages
zealous imp Hi! I have some problem with mySQL (mariaDB) connections. I use slash command in my bot and separated it to different fo...
Node.js Database
Canvas no rendering text 19 messages
desert quartz Hi, i'm on djs V14. Here is my code :
Node.js
running ts code in vsc 9 messages
prime shoal How could I run ts code instead of compiling it to javascript in vsc?
TypeScript
Error: Could not locate the bindings file. 10 messages
Types for TS 13 messages
misty minnow Hi Im converting my js bot to ts and I want to ask how can I get the types of the discord.js lib
What am I doing wrong here? 11 messages
eternal tundra ```js import { Schema, model, Document } from "mongoose"; interface IGuild extends Document { memberId: string; tic...
TypeScript Database
Topgg API receivebot statistics 4 messages
river silo Does anyone knowwhere I can find topgg's api on npm that allows me to request the clients data, I've attempted to use ax...
Limiting total values across multiple arrays and distributing 5 messages
Node.js
Any good tutorials to learn how to make a dashboard ? 8 messages
forest imp Hey, I’m looking to know how to make bots dashboards. I master discord bot developpement and I know how to make apis.
NPM RUN BUILD Not Working 10 messages
wind mountain My "npm run build" isn't working because it can't find the module. It doesn't seem to be proprerly generating the dist ...
Node.js TypeScript
Parallel processing of long running commands 3 messages
urban pine Hello, I am looking for strategies to implement a high tolerance for parallelism in processing commands. For example, I...
saving/updating JSON value in sequilise 15 messages
torn mural I am trying to save this edited json value but my current methods are not working. There’s no errors.
Node.js Database
twice message problem 8 messages
loud root So I have an issue where the bot sends the message twice. I already checked everything in the code and even did a check ...
TypeScript
Property 'id' does not exist on type 'never' .ts(2339) 26 messages
eternal tundra **I was trying to convert this:**```js if ( !lastCheckedVid || (latestVideo.id.split(":")[2] !== lastChe...
TypeScript Database
Eval Not Recognizing Input 38 messages
maiden lotus As Seen In The Image My Eval Command Wont Work As It Should, It Can Math But Cant Do Other Here Is The Code If Thats Any...
Node.js
Schemas in main file 34 messages
mossy pelican ```let cooldown = walktopoland.findOne({ ^ TypeError: walktopoland.findOne is not a functio...
No _id 10 messages
covert crater Hello, is there any option to actually disable the creation of a `_id` property when creating new data with mongoose? (I...
Node.js TypeScript Database
What to do if the message that the bot is listening to gets deleted? (collector for buttons) 33 messages
eternal tundra What would you guys recommend me to do?
TypeScript
Typescript checks npm package when it shouldn't 3 messages
lone wagon Okay, so here is my tsconfig: ```json { "compilerOptions": { "outDir": "lib", "declarationDir": "types", "...
Need help retrieving lyrics from genius lyrics api 4 messages
woeful gull Hello, so I am currently trying to retrieve lyrics using genius lyrics api and axios. But I am struggling and I don't kn...
Node.js Browser
How to Unlink a GitHub repo from a copied project folder in VSC? 27 messages
true spire Hello, I have a Discord bot project I track on GitHub, and I copied the folder to make a separate bot - however it is s...