developing-djs

275 threads · Page 1 of 6

📢 Hiring / Opportunity Announcement 2 messages
discord-api-types guide website
Installation errors during building of project 33 messages
agile yew Hey. I'll get this error every time when build is running. I reclone repo, packages, used `pnpm store prune`, but error ...
discord.js
Running website locally 17 messages
thorny lynx Apologies but is there a way I can get the website running locally? I tried ⁨`npx next start`⁩ and that starts and bind...
website
do I commit package.json? 34 messages
cosmic plaza trying to test my changes to builders with some bot code, ive done `pnpm turbo run build --filter='@discordjs/builders' ...
other package discord.js
/structures: next steps...? 7 messages
thorny lynx Apologies for the barrage of PRs, but I do intend to see these through and hopefully get a large chunk of the structures...
other package
cannot find module 257 messages
cosmic plaza I fork the repo, clone it to wsl, then following CONTRIBUTING.md i do `pnpn install --frozen-lockfile`, then `pnpm build...
other package
Internal sharding = higher memory usage? 8 messages
midnight solar According to the guide, internal sharding uses more memory than external sharding. However, I find this confusing becaus...
guide
how works 15.0.0 vesion? 48 messages
unique steeple i just found example of all components and want send to chat but my i getting msg that bot didnt respond discordjs vers...
discord.js
Good first issue, and are the issues all still valid? 11 messages
vapid cosmos Hey all, 3 questions for ya. 1. What's a good first discord.js issue to try tackling? None of them have the good first...
discord.js
Issue on setting up local repository 4 messages
worthy pier I wanted to get into contributing and found this issue <https://github.com/discordjs/discord.js/issues/11226>. I found ...
discord.js
zlib-sync: Running install script -> Command failed 4 messages
near matrix When I clone the repo and try to install the dependencies using `pnpm install` I get the following output : ``` Scope:...
discord.js
Added support for custom caching backends users can now choose between in-memory caching or provid 14 messages
north widget ```js interface CacheOptions { /** * The cache store type to use. * - `memory`: Uses in-memory caching (default)...
discord.js
Updating Modal Components 131 messages
boreal saddle # <:pr:986539896409841684> Link to PR https://github.com/discordjs/guide/pull/1631
guide has pr
Voice v8 & DAVE 437 messages
azure finch A thread for all voice stuff
voice
Adding ComponentsV2 to the d.js guide 69 messages
junior shuttle -# (Since I think it is quite some work to make this happen, I decided to make a post for it.) ## <:pr:98653989640984168...
guide has pr
'zlib-sync' errors could be improved 45 messages
strong dust Currently discord.js handles `zlib-sync` errors [like so](<https://github.com/discordjs/discord.js/blob/main/packages/ws...
ws discord.js
pnpm install error 8 messages
agile yew Hello. When I write `pnpm install --frozen-lockfile` ([contributing](https://github.com/discordjs/discord.js/blob/main/....
discord.js
Issues running a local version of the guide 17 messages
trim parcel Hey, whenever I try to run the guide locally I get this error: ```ts TypeError: app.options.bundler.dev is not a functi...
guide
Lost thread update when calling <ThreadChannel>.edit() - need opinion on solution 4 messages
summer plank I've created an issue explaining everything : https://github.com/discordjs/discord.js/issues/10658 I would just like som...
discord.js has pr
Modernise Deno template of `create-discord-bot` 24 messages
icy hamlet Deno template seems to be pretty much outdated. If it's fine, I can create a PR to make some changes and *modernise* (us...
other package
Permission errors 5 messages
young sierra How can I hide or handle this error when the bot does not have permissions on that channel. Apart from using the consol...
discord.js
Gateways Proxy 33 messages
torpid pagoda Could it be possible to implement a proxy gateway in discord.js to set up the system that allows updates on a bot withou...
discord.js
Type error with permissionOverwrites 14 messages
slim delta Hi everyone, I'm new to discord.js and working on issue [#10450](https://github.com/discordjs/discord.js/issues/10450). ...
discord.js has pr
Invalid method "parseEmoji" ? Or am I wrong and am I exploiting a bug in Discord's parsing ? 11 messages
summer plank Hello, Today I encountered a bug where the function ``parseEmoji`` failed to parse some emojis in messages sent by my b...
discord.js
oauth2/token/revoke not covered 9 messages
sudden quiver Why is the oauth2/token/revoke endpoint not covered by the API package?
REST other package
Argument of type 'ButtonStyle.Premium' is not assignable to parameter of type 'ButtonStyle' 31 messages
torpid pagoda ```ts const row = new ActionRowBuilder<ButtonBuilder>().addComponents( new ButtonBuilder().setLabel(c...
discord.js
non event actions 4 messages
viral rover is it appropriate to just remove `actions/GuildChannelsPositionUpdate` and `actions/GuildRolesPositionUpdate` as they ar...
discord.js
application emoji 2 messages
viral rover so app emojis aren't received via gateway, should the implementation be like user#banner where it's an empty collection ...
discord.js
CORS Policy Access Control 3 messages
devout dune Access to fetch at 'https://control.sparkedhost.us/api/client/servers/5387911e/resources' from origin 'https://matchmaki...
website
Missing command type on SharedSlashCommand 9 messages
acoustic dawn When building, a SlashCommand doesn't specify its type (`ApplicationCommandType.ChatInput`). I know Discord defaults it ...
other package
Discord.js overwrites types for node:* packages e.g. node:events 3 messages
slender cypress you override the types of node:events eventEmitter, which causes issues in my code, anywhere i want to use EventEmitter....
discord.js
User Install Command 9 messages
iron gull Hello, recently it was announced that we can save application commands on the user and use them everywhere in discord. I...
discord.js
poll events do not emit on uncached messages regardless of partials 114 messages
karmic ridge As the title suggests, poll events do not emit on uncached messages, even if the `Message` partial is enabled.
discord.js
Contributing to Discord.js 5 messages
sterile cypress Might be a weird question, but was wondering how I can best help start contributing to the project, since my summer inte...
discord.js
Expanding Caching Options 19 messages
meager edge Have you considered adding additional caching options to Discord.js, such as Redis or file-based caching systems? This c...
discord.js collection
making activities 2 messages
livid lava How can i make one now
discord.js
Why is ID accepted as an overload for fetch? 23 messages
thick vapor For example, in GuildManager#fetch, you can simply just pass in the guild's ID to get the information. But what if the I...
discord.js
'time' formatter only Math.floors if you provide date object 23 messages
hasty kestrel the time formatter only Math.floors it if you provide a date object, but doesn't when you provide a number, this makes t...
other package discord.js
Unit test in discord.js 🧪 14 messages
rugged rapids Hi! Sorry about the question, if there's already an answer somewhere, I didn't necessarily find my answer, I'd like to k...
REST discord.js
version pinning 93 messages
spring idol why did discord.js (and other monorepo packages) stop using `^` for dependency versions? i get that they shouldn't be us...
discord.js
Use proxy with websockets 8 messages
cursive hollow I am trying to build discord bot, but the server that I am using has to connect through a proxy for all internet connect...
ws discord.js has pr
globSync instead of readdirSync in the guide 7 messages
drifting herald I don't know if there's a reason why the guide uses readdirSync for loading events and commands (probably because it's b...
guide has pr
createAudioPlayer as a constructor 8 messages
thick vapor Why was this made as a function? Why not a class constructor?
voice
Voice Region Type Narrowing 4 messages
little lion Would it be ok if I made a PR that narrows to known voice regions? Or should it just always remain `string` since it *co...
discord-api-types
Wrong import in template 3 messages
rain oar https://github.com/discordjs/discord.js/blob/main/packages/create-discord-bot/template/TypeScript/src/util/deploy.ts#L4
other package has pr
NodeJS Experimental Websocket support results 20 messages
little lion cc <@139836912335716352> Using: ``` node 21.4.0 discord.js 14.14.1 ``` Ran my command: ``` node --experimental-websoc...
ws discord.js
CDNRoutes `storePageAsset` 42 messages
unique shore Context & relevant PR: [#868](<https://github.com/discordjs/discord-api-types/pull/868>) Continuation from [here](<http...
discord-api-types has pr
Split "deferred" property in Interaction class in two, to better reflect previous actions 2 messages
summer plank # Context The source of this idea is from a problem I encountered during development. It is explained in the following p...
discord.js
d.js member object for interactions for uncached guilds 102 messages
drowsy pendant issue: https://github.com/discordjs/discord.js/issues/10010
discord.js
required permissions listed in djs docs next to each function 3 messages
pine estuary If it's not too much work would you consider adding tags for each permission that's required next to it's function? For...
discord.js