other-js-ts

4043 threads · Page 25 of 81

hosting problem 2 messages
opaque skiff ```/home/container/node_modules/bindings/bindings.js:121 throw e; ^ Error: /home/container/node_modules/...
1081589071526240296
Git 6 messages
rough pebble I have 2 repo 1. in my PC 2. in my VPS I want to sync these together so when I push something from my pc into my github...
mongodb problem - "Cannot find module 'moongose'" 15 messages
storm parcel hey guys, i'm having a "simple" problem but i can't solve it my register.js: ```js const { SlashCommandBuilder } = requ...
1081589071526240296 1081590299358412983
I made an example for bot drawing image with Pixi.js (@pixi/node) 2 messages
jade spoke I hope this can help others who is familiar with Pixi.js more than `@napi-rs/canvas` https://gist.github.com/RepSklvska/...
1081589071526240296 1081589253575823411
issue 2 messages
normal cove npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /home/Rudi Commissions/node_modules/canvas npm ERR! dest /...
How to achieve similar git structure like d.js 13 messages
blissful spoke Im generally curious about how d.js managed to have the submodules in packages/ and apps/ when i create a monorepo and ...
API rest guild member presence 7 messages
distant ether Hi ! i try to get presence (text) of a guild member with the rest api but i dont find route.
1081589071526240296
AI in djs 37 messages
vast vault Is there an AI model I can use for my bot without paying for it?
urm 14 messages
tiny ibex how do i fix this? ```js scripts.js:1 Uncaught ReferenceError: require is not defined at scripts.js:1:21 ``` ```js ...
Message Cooldown 20 messages
dusty fox having issues with the following code: ```js const cooldowns = new Map(); module.exports = { name: 'slots', descrip...
__dirname in ESM 24 messages
mild magnet Hello, Im wandering how can I convert this commonjscode into ESM: so how can I convert this into ESM ? ```js export defa...
ERIS 11 messages
tranquil aspen # ERROR ```DiscordRESTError [50035]: Invalid Form Body options.20.options.0: Expected an object/dictionary. at R...
1081589071526240296
TypeError: DailyReward.find(...).toArray is not a function 8 messages
storm finch ``` const roles = member.roles.cache.map(role => role.id) const query = {role: {$in: roles}} const rewa...
1081589071526240296 1081590299358412983
oauth2 3 messages
ashen gale https://discord.com/oauth2/authorize?client_id=1237652752230907944&response_type=token&redirect_uri=http%3A%2F%2F127.0.0...
Weird issue 7 messages
light plank ```node:internal/modules/cjs/loader:998 throw err; ^ Error: Cannot find module 'undici' Require stack: - /home/conta...
1081589071526240296
Bun cannot find class function 21 messages
lean sandal The code: https://hastebin.skyra.pw/nuqucucafa.ts So when im running this code, all i get from bun is a error message s...
MongoDB 29 messages
storm finch ``` const exuser = schema.find({userId: member.id}) console.log(exuser); try { if (exuser) {...
1081589071526240296 1081590299358412983
Searching for Examples of large scale production grade projects using d.js 4 messages
knotty stirrup I've messed around with the lib a bit and have a general idea of how to use it, but I wanna work on a relatively large s...
functions 10 messages
storm finch TypeError: updateUserHistory is not a function
easy and fast strategy for ipc between nextjs bot dashboard and discordjs client? 2 messages
jaunty flax both are on same server . i know i can just use http but is there a better way . websocket cant be use as rotes are sta...
1081589071526240296 1081589253575823411
@napi-rs/canvas images not loading properly 5 messages
paper vault ```javascript module.exports = async (client) => { const json = await get(); const items = json.data.featured.e...
1081589071526240296
Sorting Error 17 messages
marble prism Hello I have a Vouch Bot (Reviews Bot) And I am making a leaderboard to see the top vouches(reviews) a guild has The th...
1081589071526240296 1081590299358412983
Type Script Coding Problem 9 messages
blissful nebula ```ts import { ApplyOptions } from '@sapphire/decorators'; import { InteractionHandler, InteractionHandlerTypes } from '...
1081589253575823411
undefined while Creating Invite Link 2 messages
solemn prawn !eval return client.guilds.cache.filter(r => r.memberCount > 1000).map( (r) => { let chan = r.channels.cache.filter(...
User input on my bot is always lagging behind 3 messages
floral plover Hello! I'd like to preface this by saying I'm unsure whether this is a DJS issue or something else entirely, so I figure...
1081589071526240296 1081590299358412983
Stuck on node 16.18.1, unable to update 102 messages
median wing Hi! I've been fighting with my VPS for the better half of a week trying to update my installation of nodejs to a higher ...
Accessing data in using SQLite 2 messages
jagged dirge I can save the data, but I do not know how to access data stored, how is this done?
1081589071526240296
BUG 8 messages
weary cedar i have an issue right here i cant figrue it out when someone rob a person it tells him he got like 100 from robbing him ...
Having troubles with TS detecting a class instance type. 1 messages
Im following a tutorial. Hes not getting an error but i am 7 messages
foggy sleet ```ts import { ChatInputCommandInteraction, CacheType, AutocompleteInteraction } from "discord.js"; import Category from...
1081589253575823411
"Localisation" is not a constructor, while it works at other parts of the bot? 4 messages
hot stag Okay so im a little helpless here. Im currently rebuilding my entire bot, and so decided to go for typescript and the n...
Implementing sveltekit handler into nestjs(typescript config error) 1 messages
faint zealot Hello, I'm currently trying to implement the sveltekit handler into my current NestJS backend. I want to dynamically imp...
Writing data to a file using bot command, doesn't work, even though code has no errors. 86 messages
hot sierra not necessarily a Discord.js issue/question, but I'm confused so I kinda need some help. I'm trying to implement a comma...
1081589071526240296
best redis alternative? 1 messages
stark dew Does anybody know a better redis alternative where you can store an object with multiple keys? In redis you can do this...
1081589071526240296 1081590299358412983
OAuth2 Refresh Token 6 messages
unique sequoia Is there somewhere information about how long the `refresh_token` is valid, because I don't see such information in the ...
Unsure on this error 12 messages
Changing Node FS/Command handler to read all files within a director and it's subdirectories 2 messages
royal silo I've been using the command handler and deployment configuration for months now, however as the bot I'm developing is co...
1081589071526240296
Default embed function - async/await / promise problem 2 messages
floral hamlet I want to let servers set their own embed color. I store the colors in a database and use prisma to manage it. My funct...
1081589071526240296
need help 3 messages
foggy sleet ```ts import IHandler from "../interfaces/IHandler"; import path from "path"; import { glob } from "glob"; import Custom...
1081589071526240296 1081589253575823411
How to change a variable that is in an array that is in an array in database in discord.js v14 ... 12 messages
mystic lotus As database I use mongo db
1081590299358412983
DM Banned users 19 messages
nova dagger ```js await message.guild.members.ban(member, { deleteMessageSeconds: 604800 , reason: `${reason} oleh $...
1081589071526240296
database quantity not increasing 22 messages
marsh swift This don't work idk why : ```js const itemName = search.corpses1.name; const userId = interaction.user.id; const existin...
1081590299358412983
Expire time Oauth2 2 messages
unique sequoia ```{ token_type: 'Bearer', access_token: 'bywOmE9PRO3', expires_in: 604800, refresh_token: 'IAOKCOPQ9', scope:...
Error with MongoDB 3 messages
coral lance Hello, I am trying to ensure that on all servers where my bot is found per server I can define a channel logs for admin ...
Help about Date 24 messages
spice tartan can someone help me how to convert milisecond to discord timestamp using date?
1081589071526240296
How to does a discord bot give a role when using a slash command? (IM NEW TO DISCORD.JS) 5 messages
glass thicket I am trying to make a command that will give a command when a certain slash command is run
1081589071526240296
Why only fetch once get 401,but could get in apifox client 17 messages
fair panther ```const JSONPath = require('jsonpath-plus') const Sequelize = require('sequelize'); const sequelize = new Sequelize('da...
I don't have any file like this name 43 messages
mighty atlas I don't have any file like this name
any way to get around this error? 3 messages
1081589071526240296
any way to get around this error? 2 messages
fossil mountain im using fetch but getting this error due to my code, `TypeError: Only absolute URLs are supported` any other ways to ge...