other-js-ts

3634 threads · Page 16 of 73

Storing bot uptime for total in the current week and month 7 messages
Node.js Database
Unclear why its undefined 6 messages
strong wagon I have the following sql functions ```js export async function getItemfromitem(name) { const getItemdbcall = await s...
Node.js Database
mongodb problems 3 messages
opaque skiff hi, I created a code for a giveaway commands, I'm using disocrd.js (v14) and mongoose, when I click the button to join i...
Node.js Database
Webhook Error 22 messages
Pm2 Creating Multiple Instances and Not Stopping When Stoped 14 messages
north gulch So, when ever my bot is errored, pm2 tends to make a new instance and the errored instance would also restart causing 2 ...
Node.js
error message 3 messages
native wave PS C:\Users\nicky\Downloads\Anarchy> npm start npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\nicky\D...
Node.js
giveaway command 7 messages
opaque skiff hi, I want make a giveaway command with discord.js (v14) and mongoose, but I don't know how to choose the winners, do yo...
Node.js Database
Should I cache my DB 5 messages
hard iris Hello, I'm using a sequelize database to store informations about channelsId or rolesId in guilds. I'm reading that data...
JS is full with deoptimization traps right? 4 messages
rustic portal so i hear someone say that, it that true?
index.js won't start 46 messages
whole ocean 3h of trying to fix this (sorry i'm a new)
Mongoose all documents count 9 messages
wide fern Hi, so i want to count all documents where is user id included, what function should i use?
Database
Counting not working properly 7 messages
vast vault ```js const { EmbedBuilder } = require("discord.js"); const Counting = require("../Database/Counting"); async function ...
Node.js
SQL query 28 messages
valid lion Let's say I have these types of object ```js { id: 123 references: [156, 789] } { id: 156 references: [482]...
User apps just dont show 12 messages
light plank I installed the app Reload my discord and re started it and i even logged the json format to see if its correct, looks ...
TypeScript
"Element type is invalid" 2 messages
heady adder Hi everyone, I'm back again sorry. I'm still working on a SSR'ed static page generator on my nextjs code base. As a rem...
Node.js Browser TypeScript
Lf a good database system which is easy to set up and works in containers/hosts. 28 messages
sage ore Also needs to work with DJS.
Database
Need Help 71 messages
serene trout Uncaught Error Error: ENOTDIR: not a directory, scandir 'C:\Users####\source\repos\FedMarketBot\FedMarketBot\commands\ca...
Voice Messages 4 messages
celest scarab Anyone tried sending a voice message as a bot?
Node.js
quick ts question 12 messages
ionic ibex is it better to do ```ts const objName = getObject as customObj; const objProperty = objName.propery; ``` or ```ts con...
why quotations and commas make JSON slower to deserialize? 73 messages
rustic portal I have no idear, just why?
API JS Problem 10 messages
tidal star I am working on a slash command that takes all players from a link / API with name and ID of a game. These IDs are taken...
my packages no longer want to install 2 messages
Node.js
Export SSR'ed page on Nextjs 2 messages
heady adder Hi everyone, I'm back with another niche use case I need help with. I'd like to generate a react page through a functi...
Node.js TypeScript
Function to generate an order number 5 messages
glad trout I have a question in terms of the correctness of writing a function to generate an order number for the discord bot. Can...
Node.js
Got an error 4 messages
vital mica Umm so i got this error In my terminal I will sent you the full terminal but it's all about 1 error that is they cannot ...
Node.js Database
I just have a question (creating custom node) 8 messages
shadow oriole Hey, i want to change some things in another npm package (i dont know how can i say it) example i install a module **npm...
Node.js TypeScript
Error 429 fetch from imgur (digital ocean) 11 messages
hard iris Hello everyone, I'm trying to fetch an image from imgur, it works perfectly on my ubuntu VM, but in my digital ocean dro...
help 3 messages
solemn crane how do i make this does it require coding?
any help ? 2 messages
How i can create an error? 2 messages
modern rampart Hello guys, i are using JavaScript Class, for create my aplication methods, for automatize any systems, but idk how i ca...
Node.js
It keeps failing when i try to import my command into discord 122 messages
stone pawn All though i have everything setup it keeps returning with a error.
Opacity in Canvas 5 messages
paper vault I want to take a user's profile Image, and making it slightly darker by putting an half transparent image over it. I can...
Node.js
SQL 38 messages
scarlet yoke TypeError: SQLDriver is not a constructor
Node.js
put the crosshair png files so remote 3 messages
sturdy sigil Hi, I'm creating a crosshair app and wanted to load the crosshair PNG files remotely. I did it this way but the PNGs are...
Browser
"CORS" Dashboard issue. (REPOST) 11 messages
sand iron *Hello!* I am currently unsure what Is going wrong in my piece of code, I am hosting the dashboard on `glitch.com`, and...
Discord OAuth2 Issues - Requesting Help 2 messages
woeful sparrow Can somebody help me with my Discord OAuth Script I want to make it so that if the username for the person is 'connorpl...
canvas not registering my font 4 messages
vast vault Why is canvas not using my installed font? i am using `await registerFont("Fonts/gagalin/Gagalin-Regular.otf", { family:...
Node.js
Sending a DM at specified date and time 46 messages
unique kestrel Hi. I have a discord bot and it is supposed to set a DM (or perform any other action) on a specific date and time that I...
Node.js Database
Date.getTime() returns far future dates 4 messages
hasty temple the following code returns a date 5400 years into the future for some reason, why is that? ```javascript await client.ch...
Node.js
Discord oauth2 authorize endpoint returns "invalid_scope" 6 messages
royal escarp Here is the URL I am using from the discord oauth generator. ``` https://discord.com/oauth2/authorize?client_id=[REDACTE...
Mongoose Listener 3 messages
river silo This is hard to explain but I want to listen to my schema for any changes made outside my script because i've got two ba...
Node.js
Help me with class 2 messages
modern rampart ```js class Functions { constructor(userid) { if(!userid) throw console.error('[FUNCTIONS ERROR]: Provide a user i...
Node.js Database
discord-giveaways 16 messages
brazen horizon Good morning. Here is my reroll-giveaway code which uses discord-giveaways and which works well, but the problem is that...
Node.js
distube playlist error 2 messages
silent citrus https://srcb.in/rWPvsT0sxO This is my code when i load the playlist the 1st track has been loaded but doesnt add rest of...
Node.js Database
I need your opinion about my sequelize table 6 messages
hard iris Hello guys, right now I have a sequelize table with the guild id as primary key and a bunch of attributes that, for each...
server less api 13 messages
valid lion I've seen this server less option on Vercell where u can stream a response in http This means u can have infinite time ...
typescript error: Property 'emit' does not exist on type 'EventEmitter'. 10 messages
onyx bear Suddenly when I open my project today I get this TS error.. And it's existing code that showed no error up until now. I...
whats this 58 messages
junior pond bindings not located
How to report 2 messages
candid dove I know it’s something not related to discordjs or other js/ts packages: But I want to report a server that is selling ni...
parsing time 4 messages
royal silo hello, so let's imagine i was making a mute command, and, obviously, the mute command would require an option to mute a ...
Node.js