other-js-ts

3634 threads · Page 14 of 73

Online Bot Issues 203 messages
whole wharf nodemon not working on terminal
search google or soemthing nodejs 6 messages
haughty oyster so i receive a game name, "Call of duty ops 3" or "cod 3" or "call of duty blackop 3" anything i can use to get the ful...
Node.js TypeScript
User Installed Invite Links 3 messages
iron sable For Custom URL I am able to have a guild invite link add a redirect url which is great but it seems like I can't have bo...
Browser
how i can use http-interactions module ? idu this module 6 messages
dapper lark ?? please give me sample
Switch from JS to TS 205 messages
normal zinc hello, could someone help me? I switched from JS to TS and now I'm having so many errors can someone help me? source cod...
Node.js TypeScript
Access cache/variable from multiple files 15 messages
south prism Guys, I have a cache set in my index.js and want to access it inside of my event-files. I thought of using `node-cache` ...
Node.js Database
Event-File not being executed 2 messages
south prism I've made me a little system that automatically adds all needed eventListeners and everything works, except this one fil...
Node.js
Error in vercel development 11 messages
frank valve Check below
Node.js
Local JSON Database 9 messages
unique meteor do anyone know any quick database that i can use easily with simple functions, store data in json on my project not on c...
Node.js Database
How to schedule stuff? 28 messages
south prism I want to implement in my verify-system that people are kicked after a certain period of time. I can't come up with an i...
Node.js
cloning git repository 5 messages
lean spade help me please im new to this and i want to clone a discord.js bot but i have to clone a git repository or whatsoever an...
Node.js Browser
hey I got trouble with a custom emoji from another server 29 messages
last knot ```js .setTitle(`U have collected ur daily coins :coin:!`) ``` and If I test my command it responsed ... daily coins �...
How to load custom .eslintrc.cjs on Visual Studio 2022? 2 messages
warm leaf My `package.json` ```json { ... "main": "index.js", "type": "module", "scripts": { "start": "nod...
So I have a history view command that shows all punishment's from a user and im trying to display 2 7 messages
Node.js
Help with .env 26 messages
pastel blaze Hey, This is probably something really silly, or something ive missed. But outside of a function, process.env.bottoken...
Node.js TypeScript
Levelsystem Discord Bot 2 messages
orchid gulch Can I do these for my voice & chat levelsystem, so that I am just on the ranked card like here voice and text on it. If ...
Node.js
What's the best package for service-to-service calls.. 27 messages
stuck shard I'm working on a project which includes vite, express and discord.js. I'm not using express along with discord.js. So fr...
Node.js TypeScript
api/guilds/x/members only returns 1 member object 3 messages
full valley Hey people, I need help fixing a problem please. Somehow, when I call the API in my next.js project with fetch, the gui...
Browser TypeScript
Inconsistent TS error 17 messages
shell mist eslint/prettier/something does not seem to be applied consistently across files, and I am not sure why. i can paste the ...
Node.js TypeScript
Empty Module 14 messages
umbral crow In my code I try to import files dynamically to register and load my commands etc. It works fine for everything, except ...
Node.js TypeScript
AI help, do i need to fine tune or make better prompts? or manually do without AI 40 messages
karmic widget Hi, trying to make an AI assistant for handling tickets. Want the bot to follow a procedure instead of giving general re...
Node.js Database
Online Bot 17 messages
whole wharf Everytime I do the right code my bot will not go on. Also, I download Nodemon but when I do "nodemon" in my terminal it ...
Add Unique Card to MongoDB Array in One Query 3 messages
carmine stump How can I ensure that a card with a unique `code` is added to an array in a MongoDB document, but skip the insertion if ...
Database
Can’t write to .json files 8 messages
tender hedge I'm creating a bot with glitch, but it won't write to json. ```js const fs = require('fs'); const path = require('path'...
fetch error - networking issue or something else? 3 messages
balmy sandal Hey, I developed a discord.js bot for my friend who runs a Minecraft server, one of the features fetches the online play...
Node.js
Regular expression for channels 11 messages
sour yacht Hi, I am making a function that formats a string to be valid as a channel name. I made some code myself but it does not ...
TypeScript
Axios 403 13 messages
quick holly So im coding a virus checker for my bot with axios and virustotal.com but when i run the command with a link, it console...
Node.js Browser
I just learned about ORM 4 messages
strong wagon I just learned about ORM, in which cases it should be used and in which cases its not worth the effort? Or is it somethi...
Node.js TypeScript Database
How can I merge multiple streams to get one single stream for VC audio recording? 4 messages
ruby robin I am trying to record voice from all users in a voice channel on Discord and I figured out that I have to create a strea...
Node.js TypeScript
create a ascii based chess 15 messages
last knot Its possibile to gerate a chess bord only with ascii chats like char(201) etc? and code blocks are monospace its possibi...
Connect to MongoDB 6 messages
quick holly hey so im trying to connect my bot with mongodb, i installed mongoose and wrote a code. then this error pops up: `Error:...
Database
Playing mp3 through voice channel. 10 messages
shell heart Building my bot from scratch so not actually using discord.js but don't know where else I can ask this. My current prob...
Not fetching array contents 7 messages
rough tulip I have an entry in my database ```json [ { "_id": "66cd126d3174505ce3015da5", "types": [ "default", ...
TypeScript Database
@napi-rs/canvas 3 messages
subtle yew What's wrong with my code? ```js async function newMember(message, name, guildCount, guildName) { const canvas = Ca...
Node.js
One big guilds table or individual tables 18 messages
craggy siren Is it better to have one big table named guilds with all the settings or individual tables with a "guild id" column? I a...
Database
Cannot use import statement outside a module 21 messages
loud root # index.ts ```ts import { ShardingManager } from 'discord.js'; import { cache } from './cache'; import logger from './lo...
TypeScript
Event handler issue 10 messages
fossil cedar My event handler is not reading the files inside “message” folder 1st image: event handler 2nd image: output 3rd image...
(some text) is not a function error. Decorators. 3 messages
pale quest I'm getting this error ``` /Users/dhruv/Desktop/Discord/Luna Labs/Luna/source/Services/Application/ApplicationClear.ts:1...
TypeScript
best hosting 3 messages
opaque skiff hi, I'm looking for the best hosting that offers a high amount of resources (minimum 300mb of RAM and 2gb of SSD) but th...
Is this folder structure good? 3 messages
south prism I want to implement Stripe as a payment provider and run the bot with a Stripe websocket. Is this folder structure good ...
Node.js
how to make so bot will restart? 5 messages
fallow grail How to code a function so bot will turn off and restart?
Node.js
fetching Cdn file link returns 403 “this content is no longer available” 19 messages
pastel blaze Posted in ddevs too but thought I’d post it here as well Hey, I’m trying to make a message context menu command which ...
Node.js
Redis Client Closed Error 12 messages
compact zodiac Hey, I have got the client closed error when usiung redis on a discord.js Typescript bot. ``` node:events:498 thro...
Node.js TypeScript Database
Machine learning 20 messages
sage ore I’m trying to implement machine learning into my bot to detect how bad a message in percentages. 100% being with racial ...
Node.js
what does pm2 do? 6 messages
unique kraken I found videos of people explaining how to setup pm2 but I don't really want to use it until I know what it does.
Architectury 4 messages
rocky grotto Hi, whats the best architectury for pannel and bot ? These two on the same server (nodejs) two servers ? (With socket ? ...
Node.js
How can I decode Opus packets received from audio of a VC to convert it to .pcm? 13 messages
ruby robin I am trying to record audio from voice channels but I just can't find the solution and I'm wordering how I can do that
Node.js TypeScript
MongoDb isnt Saving the category Ids for some reason 6 messages
north gulch when i click create category for me it makes the categories, saves it then moves on other functions, then when i check t...
Database
Middleware for DiscordJS Commands 3 messages
novel scarab Let's say I have a slew of commands. Some in "common" and some in "dev". How can I make sure a function is executed ever...
Node.js
It doesnt set the channels perms 2 messages
storm finch I dont get an error https://pastebin.com/ccAVhUVw