SynysterZV
09846c725b
chore: update d.js guide FAQ link ( #5176 )
2021-03-28 15:29:03 +02:00
Souji
43bd568f1c
fix(ReactionUserManager): remove before query option ( #5281 )
2021-03-28 15:28:33 +02:00
Sugden
ca5f371f1a
typings(PermissionOverwrites): use correct parameter type for resolveOverwriteOptions ( #5302 )
2021-03-28 15:28:08 +02:00
Souji
62ba2499e0
docs(GuildMember): document owner override in permissions getter ( #5320 )
2021-03-28 15:27:32 +02:00
Carter
077892645b
fix(GuildManager): add missing toString() on Permission#resolve fns ( #5324 )
2021-03-28 15:27:16 +02:00
Carter
aac6275300
typings(MessageReaction): allow message to be partial ( #5303 )
2021-03-28 15:26:44 +02:00
Souji
e7c4f3672e
fix(GuildChannel): regression on default channel type ( #5251 )
2021-03-28 15:24:41 +02:00
Advaith
1c8b1096c6
docs(ChannelManager): fetch can return Promise<null> ( #5422 )
2021-03-28 15:24:19 +02:00
BannerBomb
8411b9e142
fix(Guild/GuildChannel): methods reason arg usage ( #5419 )
2021-03-28 15:23:32 +02:00
nopeless
4099c28776
test: client should destroy ( #5353 )
...
Co-authored-by: Adrian Paschkowski <leiter04@gmail.com >
2021-03-28 15:22:04 +02:00
Tyler Resch
941e36f48a
docs(Guild): clarified description of guild.features ( #5352 )
...
- Removed the phrase "partnered guilds" from the description of `guild.features`
**Reasoning:**
To prevent the assumption that **any** `guild.features` will be indicative of `guild.partnered`.
2021-03-28 15:21:32 +02:00
Jan
f46940228e
feat: jsdelivr default file support ( #5424 )
2021-03-22 21:31:55 +01:00
Jan
d744e51c1b
fix(Role): pass Permissions class, not the bitfield ( #5321 )
2021-02-22 01:03:21 +01:00
Sugden
ee5bc1a5c4
refactor: switch api and gateway to V8 ( #4879 )
...
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
2021-02-11 18:10:35 +01:00
ckohen
ae3c3d80ee
feat(Client): add InviteGenerationOptions#additionalScopes ( #5215 )
...
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-02-10 15:52:44 +01:00
BannerBomb
56d8b445ed
fix(WebSocketShard): key name in WebSocketShard#_send. ( #5304 )
...
I just changed an incorrect key name that was introduced in Pull Request #3722 . When destroying the websocket from the WebSocketShard#_send method it's using `close` as the key name instead of `closeCode`
2021-02-10 15:48:16 +01:00
Souji
cee6cf70ce
chore(*): streamline issue and PR templates and redirects ( #5269 )
...
* chore(*): streamline issue and PR templates and redirects
* chore: reword redirect to not sound apologetic
* chore: reintroduce one-liner to use discord for questions
* chore: ae consistency
2021-01-27 20:31:47 +01:00
Alon Livne
09d1f2f18f
feat(ReactionCollector): event create ( #4108 )
...
* fix(Typing): setSpeaking public
* feat(ReactionCollector): create event, close #2844
* Revert "fix(Typing): setSpeaking public"
This reverts commit ccc0e0cc76 .
2021-01-27 12:13:15 +01:00
Shubham Parihar
640a6633b1
docs(BaseManager): fix a typo in #resolveID description ( #5180 )
...
* fix(BaseManager): #resolveID returns null for non-numeric string arg
* docs(BaseManager): fix a typo in #resolveID description
2021-01-27 11:30:08 +01:00
Antonio Román
a6bc39d3c6
fix(ApiMessage): remove resolve() from typings ( #5241 )
2021-01-27 11:28:26 +01:00
Matt (IPv4) Cowley
aaed72b723
refactor(Client): remove fetchAllMembers option ( #5257 )
...
* feat(Client): remove fetchAllMembers option & logic
* Cleanup
* Missed type change
2021-01-27 11:27:50 +01:00
Antonio Román
41bd6c2717
fix(GuildChannel): overload permissionsFor and BaseManager#resolve[id] ( #5260 )
...
* fix(GuildChannel): overload permissionsFor and BaseManager#resolve[id]
* fix(GuildChannel): GuildMessage and Role trigger non-null return
2021-01-27 11:27:01 +01:00
Papaia
9ffcd83027
docs(BitFields): remove string from BitFieldResolvable ( #5122 )
...
* refactor(BitFields): remove string from BitFieldResolvable
* docs(Client#generateInvite): fix indentation in example
* chore: resolve conflict
* refactor: revert breaking changes
Co-authored-by: Papaia <43409674+ItsPapaia@users.noreply.github.com >
2021-01-24 11:52:35 +01:00
Ishmaam Khan
5401b92aac
refactor(GuildMember): remove GuildMember#hasPermission ( #5152 )
...
* refactor(GuildMember): remove GuildMember#hasPermission
* refactor(GuildEmoji): remove use for `GuildMember#hasPermission`
* typings: remove `GuildMember#hasPermission`
2021-01-24 11:50:58 +01:00
Kevin Novak
80e1afb654
types(RateLimitData): remove timeDifference property ( #5208 )
2021-01-24 11:49:26 +01:00
Alex
001676c7a9
feat(ShardingManager): Allow b-Eval/fetchClientValues on a specific shard when not all are ready ( #5222 )
...
Co-authored-by: BennyDiscord <46286597+BennyDiscord@users.noreply.github.com >
2021-01-24 11:49:15 +01:00
Jan
a33eed71af
refactor(Util): remove convertToBuffer ( #5237 )
2021-01-24 11:48:03 +01:00
Carter
8bf76ffa52
chore: remove webpack from deploy workflow ( #5253 )
2021-01-24 11:47:20 +01:00
ckohen
f95f5dcd79
fix(GuildEmoji): check for cahnges to available in equals ( #5201 )
2021-01-22 19:18:06 +01:00
Shubham Parihar
0d5de4333d
fix(VoiceConnection): make #dispatcher nullable ( #5217 )
2021-01-22 19:17:32 +01:00
monbrey
5ac3b57f9b
feat(GuildChannel): support conversion between text and news ( #5022 )
...
* feat(GuildChannel): support conversion between text and news
* fix(Typings): add type to ChannelData
* fix(GuildChannel): use ChannelUpdate action handler to change class type
* Update src/structures/TextChannel.js
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
* fix(Typings): re-use ChannelType from GuildCreateChannelOptions
* fix(Typings): only allow text-news conversion
* fix(Typings): exclude -> pick (vlads suggestion)
* fix(Typings): pick -> exclude in two other spots
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-01-22 18:03:02 +01:00
Zaid
98b1c58218
fix(Message): update getters to take null permissions into account ( #5066 )
...
* fix(Message): update message#delete
* refactor(Message): message#deletable avoid duplicate call
* Update Message.js
* fix(message): resolve syntax errors
* chore(message): resolve linting issues (death to the gh web panel)
* Update Message.js
* death to the github web panel
* Update src/structures/Message.js
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com >
2021-01-22 18:02:21 +01:00
izexi
eb28ee7905
fix(typings): return types for 'Webhook(Client)#send()' ( #4876 )
...
* feat(Typings): add 'APIRawMessage' interface
* fix(Typings): return type for WebhookFields#send()
* fix(Typings): types for APIRawMessage props
* refactor(Typings): exclude oauth props from API
* feat(Typings): add WebhookRawMessageResponse type
* refactor(Typings): use WebhookRawMessageResponse
2021-01-22 17:46:55 +01:00
Carter
c8ad52b89d
chore: remove codeql job ( #5231 )
2021-01-22 17:45:40 +01:00
Souji
273e9557be
feat(BitField): move problematic bit into the error message ( #5228 )
...
* feat(BitField): move problematic bit into the error message
* fix: remove intermediate constant
2021-01-22 17:44:50 +01:00
ElCholoGamer
764966e398
feat(ClientEvents): add tuple labels to event arguments ( #5225 )
2021-01-22 17:44:11 +01:00
Adrian Paschkowski
c4c817116f
feat(GuildMember): #pending ( #5121 )
...
* Add GuildMember#isPending
* Rename is_pending to pending
* Improve jsdoc wording
* pending isn't nullable
* ??
2021-01-02 23:55:37 +01:00
Bread
e37160f4e3
fix(MessageEmbed): include author.name in length getter ( #5167 )
...
* fix(MessageEmbed): include `author.name` in length getter
* Update src/structures/MessageEmbed.js
Co-authored-by: Papaia <43409674+papaia@users.noreply.github.com >
* style: oxford comma
Co-authored-by: Papaia <43409674+papaia@users.noreply.github.com >
* refactor: es2020 syntax
Co-authored-by: Papaia <43409674+papaia@users.noreply.github.com >
2021-01-01 00:11:52 +01:00
Sugden
57b3ba425e
chore: remove webpack from .*ignore files ( #5171 )
2021-01-01 00:10:56 +01:00
Mr¤KayJayDee
4e132f18c4
chore: bump LICENSE year ( #5173 )
2021-01-01 00:10:24 +01:00
Antonio Román
b0077dcd0c
chore(Deps): remove setimmediate ( #5159 )
...
setimmediate is a browser polyfill, and since we do not support webpack anymore, there is no reason to keep it here.
2020-12-30 11:22:11 +01:00
Matt (IPv4) Cowley
8c2e6b70b8
refactor(Message): remove stored edit history ( #5155 )
2020-12-30 11:21:34 +01:00
ManEatingTapir
6a77453532
chore(RoleManager): change parameter of create to be one unnamed object ( #5026 )
...
* chore(RoleManager): change parameter of create to be one unnamed object
* chore(RoleManager): update src/managers/RoleManager.js
* chore(RoleManager): update typings/index.d.ts
* chore(RoleManager): update src/managers/RoleManager.js
Co-authored-by: Noel <buechler.noel@outlook.com >
2020-12-26 10:59:16 +01:00
ckohen
2aea7dd921
docs(MessageEditOptions): add the flags parameter ( #5126 )
2020-12-26 10:58:02 +01:00
Ishmaam Khan
2a0dcc5cae
refactor: RoleManager ( #5131 )
...
* refactor(RoleManager): make use of `BaseManager#client`
* refactor(RoleManager): cool syntax
* refactor +1
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
* refactor +2
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2020-12-26 10:57:34 +01:00
Jan
2c2249ee73
fix(Collection): toJSON() errors if the collection includes empty values ( #5129 )
2020-12-26 10:56:37 +01:00
dependabot[bot]
b19b8b593a
chore(deps): bump node-notifier from 8.0.0 to 8.0.1 ( #5145 )
...
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases )
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md )
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-26 10:54:50 +01:00
cherryblossom000
40d77bacc3
types: make Client#voice non-nullable ( #5148 )
...
Because of the removal of browser support (#5113 ) Client#voice is always non-nullable.
2020-12-26 10:54:15 +01:00
Zaid
b8be7237b8
Create CODE_OF_CONDUCT.md ( #5120 )
...
* Create CODE_OF_CONDUCT.md
* chore: move coc into .github/
2020-12-18 06:24:25 +01:00
Ishmaam Khan
ffe31405ff
feat(GuildEmojiManager): implement GuildEmojiManager#fetch ( #4933 )
...
* feat: GuildEmojiManager#fetch
* typings: GuildEmojiManager#fetch
2020-12-14 21:44:15 +01:00