monbrey
e5fcf0bee5
feat(MessageSelectMenu): droppybois ( #5692 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-24 22:25:16 +01:00
BannerBomb
d984ac9d09
Fixed typos from commit #5570 ( #5917 )
2021-06-24 22:20:57 +01:00
ckohen
7346621d15
feat: api v9 and threads ( #5570 )
...
Co-authored-by: Noel <icrawltogo@gmail.com >
Co-authored-by: Amish Shah <dev@shah.gg >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: SynthGhost <60333233+synthghost@users.noreply.github.com >
Co-authored-by: SpaceEEC <24881032+SpaceEEC@users.noreply.github.com >
Co-authored-by: Elliot <elliot@maisl.fr >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2021-06-24 20:48:29 +01:00
monbrey
ea49f7ca74
feat(InteractionCreate): move to an Action handler ( #5906 )
2021-06-24 20:42:56 +01:00
ThumusLive
038ee99604
feat(Widget): wrapper for widget.json ( #5619 )
...
Co-authored-by: monbrey <rsm999@uowmail.edu.au >
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2021-06-15 12:02:18 +01:00
Shubham Parihar
918921e821
feat: stage instances ( #5749 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-14 12:57:37 +01:00
Antonio Román
9e5106d90e
docs: removed topics and FAQ from the repository ( #5820 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: ckohen <chaikohen@gmail.com >
2021-06-11 23:41:49 +01:00
SpaceEEC
53d8e49dca
fix(WebSocketShard): don't catch errors thrown in event handlers ( #5803 )
2021-06-11 10:46:14 +01:00
SpaceEEC
eb98e33a85
fix(Webhook): throw an error if no token is available when it's required ( #5798 )
2021-06-10 17:05:45 +01:00
Amish Shah
7b2e12b102
feat(Voice): implement support for @discordjs/voice ( #5402 )
2021-06-09 14:21:19 +01:00
monbrey
c4f1c75efa
feat: general component improvements ( #5787 )
2021-06-09 13:59:12 +01:00
Ven
16f261e773
feat(Rest): optional ratelimit errors ( #5659 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-06-09 08:45:04 +01:00
Nordiago
84e5b075b4
refactor(Interactions): move Structures import out of switch block ( #5763 )
2021-06-08 14:16:05 +01:00
Shubham Parihar
e980948de5
fix(*): add missing imports for custom errors ( #5767 )
2021-06-07 13:09:43 +01:00
Souji
bf191df9c0
feat(Client): make use of with_expiration in #fetchInvite ( #5764 )
2021-06-07 09:58:26 +01:00
ckohen
dec191aa1e
feat(Interactions): add InteractionWebhook for better internals ( #5712 )
2021-06-06 00:41:23 +01:00
monbrey
cbd7f2b9aa
feat(MessageComponents): clickybois (MessageButton, MessageActionRow, associated Collectors) ( #5674 )
...
Co-authored-by: Vicente <33096355+Vicente015@users.noreply.github.com >
Co-authored-by: Shubham Parihar <shubhamparihar391@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
Co-authored-by: Arechi <22101241+Arechii@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-06-04 16:49:46 +01:00
SpaceEEC
99e2ca408b
debug(WebSocketShard): emit intents used in identify ( #5744 )
2021-06-03 16:18:21 +01:00
Jan
b317d86a93
docs: all the missing object -> Object changes ( #5738 )
2021-06-03 15:57:46 +01:00
Souji
d52bcd46ec
feat: easier guards for channelUpdate ( #5716 )
...
* feat: easier guards for channelUpdate
* typings: more explicit typings for client events involving channels
* docs: event doc consistency regarding channel types
2021-05-31 16:38:37 +01:00
ckohen
0b179c87f1
cleanup(Client): guard emitting GMU and PU on user updates ( #5655 )
2021-05-29 15:28:41 +01:00
Synbulat Biishev
668cd471a1
fix(Client) added a forgotten keyword "this" ( #5598 )
2021-05-11 22:23:27 +02:00
Nojay-Games
2eac84296b
fix(VoiceReceiver): fix memory leak ( #5609 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-05-11 13:33:45 +02:00
MBR-0001
6d09160f5b
feat: GuildBanManager ( #5276 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Shubham Parihar <shubhamparihar391@gmail.com >
2021-05-10 12:35:25 +02:00
Jan
9f74f95f69
feat: add support for application command events ( #5596 )
2021-05-08 01:25:27 +02:00
Jan
f7643f7bbe
feat: interactions ( #5448 )
...
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Advaith <advaithj1@gmail.com >
Co-authored-by: Shiaupiau <stu43005@gmail.com >
Co-authored-by: monbrey <rsm999@uowmail.edu.au >
Co-authored-by: Tiemen <ThaTiemsz@users.noreply.github.com >
Co-authored-by: Carter <carter@elhnet.net >
2021-05-07 17:22:33 +02:00
Robert Coe
cdcc50f365
refactor: remove error-silencing try/catch on event handler imports ( #5542 )
2021-04-30 21:48:19 +02:00
Amish Shah
eec7cf7634
feat: stage channels ( #5456 )
...
* feat: add stage channel type
* feat: initialise stage channel structure
* feat: add STAGE_MODERATOR permissions bitfield
* fix: typo in permissions
* fix(Channel): type selection logic
* feat: add rtcRegion to StageChannel and VoiceChannel
* feat: rtc region editing for stage and voice channels
* feat: stage channel userLimit
* feat: add stage channels to exports
* feat: add computed properties to stage channel
* feat(VoiceState): include stage channel in docs
* feat: allow ability to join stage channels
* feat(StageChannel): join and leave methods
* docs: add StageChannel link in GuildChannel docs
* feat(VoiceState): suppress and requestToSpeakTimestamp
* feat(StageChannel): setRequestToSpeak
* refactor(StageChannel): update setRequestToSpeak
* feat(VoiceState): add moveToSpeakers and moveToAudience
* feat(VoiceState): add methods to move in/out of speakers
* feat(VoiceState): add stage channel sanity checks
* feat(Permissions): add REQUEST_TO_SPEAK
* feat(VoiceState): simpler methods
* docs(VoiceState): add documentation for new methods
* refactor: remove unused error message
* chore: remove debug statements
* chore: revert changes to package-lock.json
* docs(VoiceState): clarify suppress
* docs(VoiceState): add missing @type param
* feat(StageChannel): remove nsfw property
* fix(VoiceState): check permissions in channel
Co-authored-by: Advaith <advaithj1@gmail.com >
* fix(VoiceState): instantiate error with new
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
* refactor(VoiceState): more readable API route builder
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
* style(VoiceState): fix lint errors
* docs(VoiceState): add example usage for new methods
* docs: setRTCRegion examples
* chore: update typings
* fix(VoiceState): calculate permissions for self
* refactor(VoiceState): tidy up implementation
* Update src/structures/VoiceState.js
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
* refactor: vaporox's suggestions
* style(VoiceState): fix linter errors
* chore: update typings
* chore: remove unused error message
* refactor(VoiceState): use optional chaining
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
* chore: move getters below constructor in typings
* refactor(StageChannel): optional chaining
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
* style(VoiceState): fix lint errors
* docs: fix incorrect types
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
* Update src/structures/VoiceChannel.js
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
* Update src/structures/VoiceChannel.js
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
* refactor(VoiceState): use optional chaining
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
* refactor(StageChannel): remove permission override check in joinable
* refactor: make ChannelTypes a proper enum
* Use createEnum
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
* chore: remove unused code from Constants
* refactor(StageChannel): remove unnecessary getters
* chore: update typings
* refactor: introduce BaseGuildVoiceChannel class
* refactor(VoiceChannel): reduce code duplication
* feat: export BaseGuildVoiceChannel
* chore: update typings
* docs: fix typos
* refactor: move setRTCRegion to BaseGuildVoiceChannel
* feat(VoiceState): remove permission checks
* chore: update typings
* Apply suggestions from code review
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
* chore: update esm exports and typings
* Update src/structures/VoiceState.js
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Advaith <advaithj1@gmail.com >
Co-authored-by: BannerBomb <BannerBomb55@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-04-14 13:35:55 +01:00
Carson M
2b52cdc915
fix(Voice): only skip undocumented voice packet byte if present ( #5309 )
...
* fix(Voice*): Only skip undocumented byte if present
* fix linting errors
2021-04-05 08:56:48 +01:00
Amish Shah
3af8179878
fix(Voice): disconnect if voice channel not cached ( #5467 )
2021-04-02 12:53:49 +02:00
Souji
6c6b1053b7
fix(InviteDelete): guild can be missing ( #5457 )
2021-03-31 22:31:37 +02:00
Alec Woods
9d2d60691e
feat(Rest): better handling of global rate limit and invalid request tracking ( #4711 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com >
Co-authored-by: Papaia <43409674+Papaia@users.noreply.github.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-03-31 21:56:58 +02:00
Jan
06e9d86cb3
feat(Application): application flags ( #5147 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-03-31 21:55:12 +02:00
Souji
624a4464ca
feat(WebSocketManager): let identify throw on depleted limits ( #5283 )
...
* feat(WebSocketManager): let identify throw on depleted limits
* chore: remove WSM#sessionStartLimit
2021-03-28 15:33:31 +02: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
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
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
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
Noel
0a591a9697
feat(Browser): remove browser � ( #5113 )
2020-12-14 13:56:16 +01:00
Advaith
41078997ae
feat(APIMessage): remove disableMentions ( #4836 )
...
* chore: remove disableMentions
* style: fix eslint
2020-12-14 13:51:31 +01:00
Mirdukkk
9c7fe34c50
fix: add presence to ClientPresence from ClientOptions ( #5041 )
2020-12-13 03:14:23 +01:00
Jan
5b51392724
refactor(Client): improve generateInvite() ( #5065 )
...
* cleanup(Client): improve generateInvite()
* fix: you actually do need to fetch the application
2020-12-12 22:38:57 +01:00
Jan
bb04e69a92
cleanup(Guild): remove Guild#voice ( #5091 )
2020-12-12 14:49:32 +01:00
Advaith
2685b960d7
docs(Client): #emojis is a BaseGuildEmojiManager ( #5048 )
2020-12-08 22:07:06 +01:00
Advaith
9f3c3e0918
docs(WebSocketManager): fix type of status ( #5059 )
2020-11-30 01:08:54 +01:00
Amish Shah
4fcb9ebf30
fix(Voice*): filter out silent audio from video users ( #5035 )
2020-11-25 23:51:16 +01:00
Jan
8d650a7250
feat: BaseGuildEmojiManager ( #4934 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2020-11-22 19:48:30 +01:00