cobalt

Results 91 comments of cobalt

Please don’t add eslint-plugin-prettier, the error messages don’t render correctly on Windows machines.

- I like to sort my imports by type (https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/order.md). Unless you are talking about https://eslint.org/docs/rules/sort-imports; that seems fine to me! - https://eslint.org/docs/rules/sort-vars has problems when variables depend on another...

I think [`GET /channels/{channel.id}/threads/archived/public`](https://discord.com/developers/docs/resources/channel#list-public-archived-threads) and [`GET /channels/{channel.id}/threads/archived/public`](https://discord.com/developers/docs/resources/channel#list-private-archived-threads) are also `RESTGetAPIChannelUsersThreadsArchivedResult` - the docs for all three say they only have `threads`, `members`, and `has_more`.

```js /** * ... * @returns {Promise< * (T extends true ? import("./src/types").ShallowGallery : import("./src/types").Gallery)[] * >} * - Array of gallery data. */ ``` This rule autofixes as ```js...

yeah i see two possible solutions 1. change your browserslist 2. update the examples (prob better)

What were you doing before the crash? ________________________________ From: Djidjey ***@***.***> Sent: Thursday, February 24, 2022 5:47:59 PM To: TurboWarp/desktop ***@***.***> Cc: Subscribed ***@***.***> Subject: [TurboWarp/desktop] crash (Issue #337) [image]...

I was looking in to this. I initially thought to change `TextBasedChannel`'s definitions, but it's just an exclusion of `Channel`, so modifying that wouldn't fix it. There's no `BaseTextChannel` class...

Having the same problem. My bot is hosted on https://railway.app and it went unresponsive after about 5 days of running. I upgraded to v14 at the same time I switched...

Are you listening to the `"debug"` event? In my experience rate limits are logged through that.

This issue is caused when calling `awaitMessageComponent` on a `MessageComponentInteraction` when the `MessageComponent` was sent in a message not replying to an interaction. The `MessageComponentInteraction`'s ID is stored here: https://github.com/discordjs/discord.js/blob/4ffdada4f7a9f8d5bc242353e03c73d5604163a5/packages/discord.js/src/structures/InteractionResponse.js#L20...