other-js-ts

3634 threads · Page 11 of 73

Invalid signature for GitHub webhook 16 messages
visual sky Hey guys I need some help with this one. I’m trying to make the bot send a message upon new pushes to GitHub. I’m getti...
Node.js
auto install missing npm packages 32 messages
sharp bluff ```js export async function baseMjsPartLoader(path) { while (true) try { const part = (await imp...
Node.js
String replacement with RegExp doesn't work 25 messages
south prism I have this code as I want to remove the bot's mention or `-r ` from the beginnning of a message content but it doesn't ...
Node.js
WTF is happening here... 4 messages
rough pebble I dont know even what should I write as title https://i.imgur.com/qagI93S.png https://i.imgur.com/aV9QgmB.png
Node.js Database
new webhook events 6 messages
Node.js Browser
commands 2 messages
heady swan my bot commands are no longer displayed
DiscordAPIError[30032] 10 messages
Node.js
Error: cannot find module 'mongodb' 40 messages
zinc bough So right now I'm tryna make a bot using v13.20 on replit (no hate please), but I keep getting an error that's like 'cann...
Database
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...
Node.js
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...
Node.js
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 11 messages
error 5 messages
grim ore error
Node.js
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 ...
Node.js Database
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...
Node.js
is this the best way to make express routes? 19 messages
Node.js TypeScript
how to install 19 messages
Node.js
TailwindCSS Positioning Problem 7 messages
valid glade thumbnail preview sucks
Browser
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...
Node.js
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
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...
Node.js
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...
TypeScript
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...
Node.js
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 ...
Node.js Browser TypeScript
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...
Node.js
the file does not find a file that exists? 3 messages
tiny wing [error](https://sourceb.in/0agdBBQhhR) [code](https://sourceb.in/ucZpA7LPPZ)
Node.js
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...
Node.js
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...
Node.js
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...
Node.js
Cannot use import statement outside a module 3 messages
rare vigil ``` import { Subcommand } from "../../typings/types"; ^^^^^^ SyntaxError: Cannot use import statement outside a module ...
Node.js TypeScript
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...
Node.js TypeScript
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...
Node.js
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...
Node.js
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 {...
Node.js TypeScript
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 ...
Node.js Browser TypeScript Database
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...
Node.js TypeScript Database
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, ...
Node.js
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 49 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 ...
Node.js TypeScript
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...