other-js-ts

4043 threads · Page 12 of 81

Git help 9 messages
pastel blaze Hey guys, let’s say hypothetically you have a private github and you wanna make it public but you have your .env file up...
1081589071526240296
how to construct a map in js? 14 messages
haughty pelican how would i go about making a map in js, i want to be able to plot points on it later (dynamically) and zoom in and stuf...
1081589071526240296
Managing file outside of scope 24 messages
snow island It's possible to edit a file via discord??? Like I have create a file in: Crt/Games/Config.yml I want edit the file f...
Quick question : Do I need to reconnect the SQL database / use a pool connection lib in js or no? 18 messages
trim trout Hi, I was making my bot with Java and I was using Hikari, but I am learning JS now and I don't know if using pool connec...
Can't access/print a Map 12 messages
Adding markers with icons to a WebGlPointsLayer issues. 1 messages
blazing tiger First and foremost, I'm honestly stumbling my way through this since I'm normally not coding websites or really Javascri...
1081589071526240296 1081590447216017570
error 5 messages
grim ore error
1081589071526240296
Giving users one coin, when they join a server through a command. 51 messages
unique jetty The bot rewards users with coins each time they join a server from a command "farm" The bot automatically tracks when a ...
1081589071526240296 1081590299358412983
Question for my discord bot 14 messages
stoic marsh So basically I want to know how to code a discord.js bot that has a index.js and an src folder with it having for exampl...
1081589071526240296
is this the best way to make express routes? 19 messages
1081589071526240296 1081589253575823411
how to install 20 messages
1081589071526240296
TailwindCSS Positioning Problem 7 messages
valid glade thumbnail preview sucks
1081590447216017570
Question! 27 messages
stoic marsh My question is that I want to have my index.js file to like "register" or I mean have everything under control in the fo...
1081589071526240296
db issue 5 messages
rough otter i have a caching system in my code and there's 2 keys "cards" and "cards_(userid)" These keys have many player data lik...
Why is res.buffer undefined here, but in a different file where i use the same code its fine? 10 messages
Changes are not reflected any more not on dev nor on Build 1 messages
strong wagon Since a short period of time it started to no display my changes any more vite config ```js import { defineConfig } fr...
1081589071526240296 1081590447216017570
Similar tests in Vitest 3 messages
plush girder In vitest, I'm trying to write some tests that are very similar except with a few parameters that change. Specifically, ...
Api request saying 401 32 messages
dense cargo ```js app.get('/users/guilds', async (req, res) => { const token = req.cookies.token; console.log('Token receive...
1081589071526240296
searching sub-arrays 13 messages
quaint steppe how do i check if a variable within an array within an array exist ? I don't want to do a whole loop but `array["index o...
Help 18 messages
Wrong path? 14 messages
finite tundra ```js import IHandler from "../interfaces/IHandler"; import path from "path"; import { glob } from "glob"; import Custom...
1081589253575823411
Bot not able to find channel. 14 messages
livid cargo So here is the code i have written in my command folder ```js const { SlashCommandBuilder } = require('@discordjs/builde...
1081589071526240296
Discordjs guide repo problem 3 messages
dire night i cloned this repo `git clone https://github.com/discordjs/guide.git` and followed the exact instructions as written in ...
1081589071526240296 1081590447216017570 1081589253575823411
I wanted to be involved in some project, and API became one, how can I understand? 2 messages
mild sage I wanted to write my interaction with the Telegram API, to get out of heresy with an infinite loop, which does not work ...
I need some help with this code 5 messages
gleaming remnant this is the error ```js node:internal/modules/cjs/loader:1454 return process.dlopen(module, path.toNamespacedPath(fil...
1081589071526240296
the file does not find a file that exists? 3 messages
tiny wing [error](https://sourceb.in/0agdBBQhhR) [code](https://sourceb.in/ucZpA7LPPZ)
1081589071526240296
question about fetching data for my app 4 messages
little idol using next.js v14 app router, i have a discord application (form) system where users can create or fill out custom appli...
1081589071526240296
pterodactyl path error 25 messages
empty jay I've written my bot code on vsc and i now i have to host it in pterodactyl but i don't know how to check and change corr...
1081589071526240296
es module 7 messages
wheat dove ```mjs [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default E...
1081589071526240296
Cannot use import statement outside a module 3 messages
rare vigil ``` import { Subcommand } from "../../typings/types"; ^^^^^^ SyntaxError: Cannot use import statement outside a module ...
1081589071526240296 1081589253575823411
Why this error is coming i dont understand i tried trobuleshooting. 25 messages
viral trench I tried deleting all packages and installing again but still coming any sollution ? The error: ```js PS D:\benkart\ap...
1081589071526240296 1081589253575823411
DiscordRPC How to choose a type? 2 messages
little sentinel Is there any possibility to change the type? On the official discord site they have type = 3 (Watching: 3 = 3), I specif...
1081589071526240296
A hint breaks in VSCODE 7 messages
canvas error 16 messages
green bridge ```Error: The module '\\?\C:\Users\Lenovo\OneDrive\Desktop\Zein\tryhard-main\tryhard-main\node_modules\canvas\build\Rele...
1081589071526240296
how do I tell vsc to put the extension when importing? 10 messages
cedar otter Right now, it imports as ```ts import {} from "./path"; ``` instead of ```ts import {} from "./path.js"; // or import {...
1081589071526240296 1081589253575823411
Authenticate users through discord bot 4 messages
tawny smelt Hi guys, I'm trying to build a bot so that it interacts with my backend server and perform all the tasks a user can do ...
1081589071526240296 1081590447216017570 1081589253575823411 1081590299358412983
if statement 8 messages
lime latch how to stop my command from running when my if statement is false?
Im trying to read a dir files in bun 29 messages
viral trench ```js const getSchemas = (): string[] => { const schemas = readdir('./src/db/schemas').then((values) => { re...
1081589071526240296 1081589253575823411 1081590299358412983
total statistics of the shards 8 messages
halcyon peak ```ts import { ShardingManager } from 'discord.js'; import { AutoPoster } from 'topgg-autoposter'; import { env } from '...
Weird Evaluation 8 messages
sly forge So I got these two expressions: ```js ( condition ? this[name === "ready" ? "once" : "on"] : this.map.set )(name, ...
1081589071526240296
bot idea 4 messages
opaque skiff hi, I want start a new discord.js bot but I don't have ideas, I want to do something of hard to do but at the same time ...
i need some help with discord api for a roblox user name verifycaton 3 messages
gleaming remnant My code error is saying the api s outdated were do i get one
selectmenu 48 messages
misty minnow I want to create an event command where users can organize in-game events, and other players can join. The channel will ...
1081589071526240296 1081589253575823411
is there way to combine enums 18 messages
onyx harness i wanna combine RawPermssions and PermissionGroups but the problem is if i did like what i did here i cannot define enum...
Check if String starts with RegEx 6 messages
urban wharf Hello, I have a regEx and an trying to check if a Discord thread's title matches the regEx. I can't use the startsWith m...
1081589071526240296
I only need help 10 messages
marsh dove I have that code: ```ts const faltasgraves = agente.sancionesgraves const faltasleves = agente.sanciones...
Problem with showing elegible things w/logs 11 messages
safe sonnet https://sourceb.in/gGHxgs3azD The user should be elegible to the first 4 but hes not any idea why ?
1081589071526240296
API with Discord.js and the ShardingManager 3 messages
long cape Hi, I'm currently working on an api and the bot I'm building for uses, who would have expected it, discord.js. My proble...
1081589071526240296 1081589253575823411
Should you type every element of an API json response, if you don't use all the elements? 2 messages
rustic acorn I have a Discord bot that fetches 3rd party API endpoints with fairly large responses (3500 lines) but only use parts of...
1081589071526240296 1081589253575823411
Next.js cookie error 19 messages
marsh dove https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. { error: TypeError: State cookie was mi...