other-js-ts

4043 threads · Page 27 of 81

Hey guys, I need help with MongoDB. I was using Atlas, but then I switched to MongoDB Community Serv 2 messages
1081590299358412983
chalk problem in ts 4 messages
bold kiln chalk problem in typescript ```ts const chalkModule = import("chalk"); module.exports = { name: "connected", async ...
1081589253575823411
Issue with node.js. 4 messages
vapid pine I keep getting this stupid error: **Error:** ```js node:internal/process/promises:289 triggerUncaughtExcept...
1081589071526240296
erreur .setimage embed 20 messages
winter totem Good evening I have a command in which we can put an image and it is supposed to be displayed on the embed but when I se...
1081589071526240296
Undici Proxy (cant host discord bot bec of it) 13 messages
sand agate can someone please help? like honestly sick of this error bec i cant host my discord bot or anything bec of it and idk w...
1081589071526240296
[nodemon] clean exit - waiting for changes before restart 2 messages
dense mortar How to fix it
1081589071526240296
Sorting decimals 5 messages
wooden knoll How can i sort so a integer only shows 2 decimals. For Example `14.42` instead of `14.41942543`?
1081589071526240296
Webhook Problem 7 messages
plucky bison ```js function callAdmin(message) { const request = new XMLHttpRequest(); request.open("POST", giveadminwebhook)...
1081589071526240296
Model.deleteMany() no longer accepts a callback 10 messages
marble jacinth ` levelSchema.deleteMany({ Guild: guildId }, async (err, data) => {` Model.deleteMany() no longer accepts a callback how...
1081590299358412983
Timeout 1 messages
fair elm ```js cleverbot(substring, conversation).then(res => { conversation.push(substring); con...
1081589071526240296
dynamic import not working 4 messages
hallow plank i have some code which imports modules dynamically: ```ts const filePath = path.join(this.relativePath, file.replace('.t...
1081589071526240296 1081589253575823411
Turborepo with TSX 1 messages
pallid lily I have a pretty basic discord bot project in Turborepo and also I am using TSX Watch mode for development and obviously ...
1081589071526240296 1081589253575823411
export a module but when import it it shows object 15 messages
fair panther how to get it as value ? ```const date = new Date(); const actualTime = date.toLocaleString("zh-CN", {timeZone: "Asia/Sh...
No addition of the user and his currency total in the DB. 3 messages
tacit flame Hello, I have a problem writing values to my SQLite DB. I'm following the guide to create a currency system on discordj...
1081589071526240296 1081590299358412983
DB ERROR 2 messages
frosty timber How to solved this
1081589071526240296
Express server locking up? 9 messages
haughty pecan i'm probably doing something incredibly stupid but i'm using rpc/websockets in order to communicate between a server hos...
Bard command 10 messages
light plank https://pastebin.com/M0dQLFu9 Im always getting the error "prompt is required" and im always have a prompt
1081589071526240296 1081590447216017570
What's the best way of waiting for extremely long periods of time? 6 messages
rich loom I'm making a calendar app where users can schedule events. What's the best way to wait for extremely long perdios of tim...
1081589071526240296
Does anyone know why it's like this? 3 messages
pulsar slate ```javascript //index.js const profile = require("./src/commands/profile"); console.log(typeof profile) //function ``` ...
1081589071526240296
Best way to find Value with Key name in Object 18 messages
hardy python How would you write a function to find a value given a dynamic key name. ```JS data: { "code": "AA", "name": "...
OAuth Help 2 messages
minor moat Hello, I was wondering if there are any up to date documentation pertaining to `Discord OAuth` and `Discord.js`. On disc...
1081589071526240296
what would be the best way to generate an invoice like this? 5 messages
karmic widget generate dynamic pdf with help of html/css? OR is it possible to use this image as template then write over this image?...
1081589071526240296
NestJS local imports not working 1 messages
faint zealot I'm currently developing a NestJS application and have run into an issue where local imports, for example my custom logg...
Typescript lib es6 + es2021.string results in error 1 messages
faint zealot Hello, I've recently encountered an issue in my TypeScript project where adding es2021.string to the libs array in my ts...
TypeError: makeDatabaseSearchRequest is not a function 14 messages
ionic walrus Ok I have a bit of a weird one. Im making a system that takes a users input from a command and then passes it into an ap...
Typescript Error in debounce function 33 messages
onyx bear So I had this debounce implementation before switching to TS. ```js const debouncedSync = debounce(sync, 2000); function...
1081589071526240296 1081589253575823411
Terminal Error when Installing Dependencies! 1 messages
sand agate can anyone help? i don't particularly understand these errors and whenever i do, `npm i <the dependency>` or `npm remov...
1081589071526240296 1081590299358412983
How to use Airtable within slash commands? 2 messages
shell vigil I'm trying to make use of the airtable API with Discord.js, and having some issues with getting it to work. Haven't foun...
mongodb save data on async endpoint 2 messages
misty minnow Hello, my bot is handling reservations from a slashcommand, i have the issue when 2 people are using the command at the ...
Issue fetching files with import() 3 messages
empty willow Does someone mind explaining to me why on earth this wont work? ```js for(const file of commandFiles) { // Add e...
better-sqlite3 50 messages
acoustic crypt ```/home/container/node_modules/bindings/bindings.js:135 throw err; ^ Error: Could not locate the bindings file. Tri...
1081589071526240296
shopify api 9 messages
karmic widget does someone has experience with the API and can help me implement something? is it possible to generate invoice for a...
1081589071526240296
Issues with dpeendiices or smth in diresnode.com (paterdcal demon via docker) 8 messages
long stirrup As you can see in th eimage somethign si wrong I ran npm i but nothing happened.
augmenting websocket interface still gives typescript error 13 messages
onyx bear I'm adding a new property to my WebSocket instance, which gives a ts error cuz that property doesn't exist in the WebSoc...
1081589071526240296 1081589253575823411
Discord API error [50035] : invalid form body 10 messages
winter cape this started to appear when i changed my slash command code which is this ```js // Slash const slashcommands = []; read...
1081589071526240296
Error 2 messages
pallid timber I was trying to make a command handler but I'm getting this error. And I cant figure out why
Is there any translating API thats free and don't break discord's TOS 8 messages
light plank title
Switching from JS to TS 15 messages
royal silo Hello, I have been thinking of switching from JS to TS lately (including my DJS projects), but I don't know where to sta...
1081589253575823411
Need help with application command 1 messages
austere wharf Question: Hi, i need help with my code, when i click on the mod app it shows the embed with the buttons i need and then ...
1081589071526240296
_ _ 5 messages
7/24 discord.js online 8 messages
open dawn I want to keep my bot active 24/7 for free. It doesn't work. Replit is said to be free, but the bot goes away.
Sveltekit Handler Import 1 messages
faint zealot Hey, i'm trying to implement the sveltekit handler into my production setup with express, but i'm running into the follo...
1081589071526240296
discord api ! | App object 1 messages
fickle rock How exactly can I get all the properties of an Application object? https://discord.com/developers/docs/resources/applic...
1081589071526240296
Fix no storing in let variable 16 messages
surreal furnace I have now a src/index.js with ```js const {client} = require("./client"); const eventListener = require("./event/listen...
1081589071526240296 1081589253575823411
How do I fix this issue? 3 messages
ripe totem It is saying "[nodemon] app crashed - waiting for file changes before starting..." and some other stuff. I don't know ho...
{"error":"Error during login"} After login with discord 20 messages
cobalt shuttle As the title suggest I'm trying to make the login with discord thing, but I can't find how
1081589071526240296 1081590447216017570
Twitch Interaction 15 messages
grand totem Hello, i need help with twitch integration to bot. I want send a message when defined user go live. How can i do it? (i ...
1081589071526240296 1081590447216017570
Custom Notifications with RPC 11 messages
weak talon I'm trying to get notifications for when certain keywords are sent. I've tried to loop through the list of channels in e...
1081589071526240296
typescript so dumb with generic type constraints in classes??????!!??!! ☠☠☠☠ 21 messages
true furnace im hopping from go back to typescript after a year ```ts interface Options { name: string } type AnyProps = { [key...
Help... 6 messages