developing-djs

295 threads · Page 1 of 6

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 ...
992669466733334589
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...
992669647621074975
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' ...
1156758894320828469 992669466733334589
/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...
1156758894320828469
Implementing the AuditLog structure. 1 messages
vernal fable Im currently in the process of [implementing the audit log structure](https://github.com/discordjs/discord.js/pull/11402...
1156758894320828469 992677716690206750
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...
1156758894320828469
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...
992669728218828870
how works 15.0.0 vesion? 47 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...
992669466733334589
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...
992669466733334589
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 ...
992669466733334589
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:...
992669466733334589
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)...
992669466733334589
Updating Modal Components 131 messages
boreal saddle # <:pr:986539896409841684> Link to PR https://github.com/discordjs/guide/pull/1631
992669728218828870 992677716690206750
Voice v8 & DAVE 435 messages
azure finch A thread for all voice stuff
995450774085709959
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...
992669728218828870 992677716690206750
'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...
995450923776213073 992669466733334589
pnpm install error 8 messages
agile yew Hello. When I write `pnpm install --frozen-lockfile` ([contributing](https://github.com/discordjs/discord.js/blob/main/....
992669466733334589
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...
992669728218828870
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...
992669466733334589 992677716690206750
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...
1156758894320828469
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...
992669466733334589
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...
992669466733334589
Type error with permissionOverwrites 13 messages
slim delta Hi everyone, I'm new to discord.js and working on issue [#10450](https://github.com/discordjs/discord.js/issues/10450). ...
992669466733334589 992677716690206750
Invalid method "parseEmoji" ? Or am I wrong and am I exploiting a bug in Discord's parsing ? 10 messages
summer plank Hello, Today I encountered a bug where the function ``parseEmoji`` failed to parse some emojis in messages sent by my b...
992669466733334589
oauth2/token/revoke not covered 9 messages
sudden quiver Why is the oauth2/token/revoke endpoint not covered by the API package?
995450905967198378 1156758894320828469
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...
992669466733334589
non event actions 4 messages
viral rover is it appropriate to just remove `actions/GuildChannelsPositionUpdate` and `actions/GuildRolesPositionUpdate` as they ar...
992669466733334589
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 ...
992669466733334589
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...
992669647621074975
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 ...
1156758894320828469
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....
992669466733334589
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...
992669466733334589
poll events do not emit on uncached messages regardless of partials 113 messages
karmic ridge As the title suggests, poll events do not emit on uncached messages, even if the `Message` partial is enabled.
992669466733334589
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...
992669466733334589
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...
992669466733334589 995451047726293022
making activities 2 messages
livid lava How can i make one now
992669466733334589
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...
992669466733334589
'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...
1156758894320828469 992669466733334589
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...
995450905967198378 992669466733334589
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...
992669466733334589
Use proxy with websockets 7 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...
995450923776213073 992669466733334589 992677716690206750
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...
992669728218828870 992677716690206750
createAudioPlayer as a constructor 8 messages
thick vapor Why was this made as a function? Why not a class constructor?
995450774085709959
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...
992669520399450232
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
1156758894320828469 992677716690206750
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...
995450923776213073 992669466733334589
CDNRoutes `storePageAsset` 42 messages
unique shore Context & relevant PR: [#868](<https://github.com/discordjs/discord-api-types/pull/868>) Continuation from [here](<http...
992669520399450232 992677716690206750
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...
992669466733334589
d.js member object for interactions for uncached guilds 102 messages
drowsy pendant issue: https://github.com/discordjs/discord.js/issues/10010
992669466733334589
Can we make "message.author" a getter? 1 messages
little lion Or is this still completely blocked by this? https://github.com/discordjs/discord.js/issues/7474
992669466733334589