Gryffon Bellish
f56b442e83
typings(Bitfield): use IterableIterator instead of Iterator ( #3599 )
2019-12-15 20:26:09 +01:00
izexi
43782839ec
feat: add new MessageFlags.FLAGS & User#system ( #3603 )
...
* feat: add new FLAGS
* feat: add system property
* typings: add User#system & new MessageFlagsStrings
2019-12-15 20:23:06 +01:00
Carter
330d5db586
feat(Webhook): addition of Webhook#avatarURL function ( #3625 )
...
* feat: addition of Webhook#avatarURL
* typings: added Webhook#avatarURL
* fix: trailing space
* docs: fixed jsdoc function description
* fix: typo
2019-12-15 20:20:15 +01:00
BorgerKing
123713305a
docs(ReactionStore): resolveID takes a reaction, not role ( #3617 )
...
* Docs: ReactionStore.resolveID should take Reaction, not role
* Make param lowercase
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
2019-12-08 19:52:03 +01:00
sillyfrog
4585d965b4
Start/Stop speaking events on UDP packets ( #3578 )
...
* Start/Stop speaking using incomming UDP packets
* Fix ESLint errors
* Updates for styling consistency
Co-Authored-By: Gryffon Bellish <owenbellish@gmail.com >
* Minor improvements
* Acutally use previousTimeout
* Use BaseClient setTimeout and refresh()
* Update README to match node version for refresh()
* Update comment to match startSpeaking
* Correctly report Priority bit
* Fix ESlint errors
2019-12-06 11:59:57 +00:00
Clemens E
bb8333a4f9
Handle voice errors outside of authenticated event ( #3520 )
2019-12-06 11:56:29 +00:00
Jeroen Claassens
2ca74d6b63
feat(Activity): support for CUSTOM_STATUS activity type ( #3353 )
...
* feat: support for custom status in activity
* nit(typings): order properties
2019-12-05 13:13:42 +01:00
BannerBomb
1b1289b35e
misc(index): export Store- and NewsChannel ( #3594 )
...
* Added Store and NewsChannel to exports
Added the StoreChannel and NewsChannel structures to the module exports.
* keeping the list in alphabetical order
I moved the StoreChannel and NewsChannel exports that I added in the last commit in their right position to keep things alphabetized.
2019-11-25 16:17:30 +01:00
Gryffon Bellish
100360705a
fix(APIRouter): use proper symbol for util.inspect ( #3589 )
2019-11-20 18:11:23 +01:00
Jyguy
cbde819b6a
typings(GuildAuditLogsFetchOptions): specify concrete type of 'type' property ( #3586 )
2019-11-20 00:21:47 +01:00
Gryffon Bellish
d39f17925d
fix(Invite): fix valueOf returning undefined ( #3582 )
...
* Update Invite.js
* Fix typings
* Fix ESLint errors
2019-11-19 21:54:35 +01:00
Carter
1bcc0c2e1d
feat(GuildAuditLogs): add new event types ( #3584 )
...
* adds more audit-log entries
this adds additional audit-log types from https://discordapp/discord-api-docs/pull/1191
* typings for new audit-log entries
* typings for new audit-log entries
* fix action numbers
2019-11-19 21:51:26 +01:00
λtlas
1d6606293a
docs(Client): clarify whose ToS are being violated ( #3580 )
2019-11-19 21:50:45 +01:00
Edward Wang
1352bff2fd
docs(README): link to guide page instead of source ( #3566 )
...
* Fixed the Update Guide Link
Original link pointed to https://github.com/discordjs/guide/blob/v12-changes/guide/additional-info/changes-in-v12.md , which is invalid. I'm not sure if the link I put (https://github.com/discordjs/guide/blob/master/guide/additional-info/changes-in-v12.md ) is the correct one, but I will assume it is.
* Used link to the DJS guide.
2019-11-09 20:52:55 +01:00
Carter
9a31e6e53a
docs(README): travis badge => github actions badge ( #3569 )
...
* travis badge => github actions badge
* this is why you don't copy paste :^)
2019-11-09 20:52:06 +01:00
matthewfripp
38d370fb18
feat(MessageAttachment): add spoiler property ( #3561 )
...
* feat(MessageAttachment): add spoiler property
* typings
* Implement suggestions
* Make readonly
Co-Authored-By: Antonio Román <kyradiscord@gmail.com >
2019-11-04 14:44:36 +01:00
Jiralite
cc466fa4b9
docs: NewsChannel and StoreChannel ( #3557 )
...
* Added news & store
* Update GuildChannel.js
* Added in News and Store
2019-11-04 11:35:14 +01:00
Purpzie
99466a99ed
typings(Util): use StringResolvable (fixes old pull) ( #3556 )
...
Fixes my extremely old pull #3212 that didn't actually update the typing (Didn't know at the time.)
2019-11-04 11:33:42 +01:00
Albus Dumbledore
e26697f07d
docs(readme): table of contents ( #3539 )
2019-11-04 11:29:19 +01:00
SpaceEEC
2e20e8092b
fix(*Collector): account for a max listener count of 0 ( #3504 )
2019-11-04 11:25:43 +01:00
Jeroen Claassens
3c634b2a26
chore: mark optional peerDependencies as optional ( #3511 )
2019-11-04 11:25:14 +01:00
Marwin M
3a9eb5b929
Fix Opus voice streams ( #3555 )
...
This fixes a wrong assumption about incoming discord voice packets revealed during a recent discord change that broke incoming opus voice streams
2019-10-29 12:22:21 +00:00
Gryffon Bellish
9bcb6a04ba
fix(VoiceConnection): clear timeouts using Client#clearTimeout ( #3553 )
...
* Update VoiceConnection.js
* fix last instance
2019-10-27 16:58:38 +01:00
SpaceEEC
96037e107f
feat(GuildMember): add selfStream ( #3522 )
2019-10-27 10:27:43 +01:00
SpaceEEC
f91ad7023b
feat(GuildMember): filter out duplicate roles when updating ( #3502 )
2019-10-27 10:27:01 +01:00
SpaceEEC
18613526bd
docs(VoiceStatus): document name -> value, link in VoiceConnection#status ( #3500 )
2019-10-27 10:26:08 +01:00
SpaceEEC
91600a6946
fix(VoiceReceiver): delete opus encoder from map in stoppedSpeaking ( #3499 )
2019-10-27 10:24:35 +01:00
Souji
7011c512fb
fix: document ChannelData#reason ( #3549 )
...
* fix: document ChannelData#reason
* update respective typings
* closes #3548
* update: add note creation only
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
2019-10-22 21:17:56 +02:00
Alexander Kashev
16db92ede8
typings(GuildEmoji): restore deletable, remove inherited property deleted ( #3543 )
...
* Typings: restore deletable on GuildEmoji
* Remove inherited property "deleted"
2019-10-18 13:06:34 +02:00
rei2hu
9e0705cbc3
fix(Message): check for edited_timestamp in data when patching message ( #3535 )
...
* check for data.edited_timestamp
* actually i should do it like this for consistency
* indentation
2019-10-18 11:55:35 +02:00
Antonio Román
a61cfc3004
docs: VoiceStateUpdate always sends an instance of VoiceState ( #3537 )
...
* docs: VoiceStateUpdate always sends the old
* typings: Update definition for voiceStateUpdate event
2019-10-18 11:32:19 +02:00
Alexander Kashev
ca1bd61f4f
typings(Emoji): remove deletable, add deleted, mark nullable props ( #3542 )
2019-10-18 11:30:49 +02:00
bdistin
c3228b4263
fix(docslink): partialtypes ( #3510 )
2019-10-12 00:54:02 +02:00
Tenpi
79133b4d5e
at(typings): partial Types ( #3493 )
...
* test
* test 2
* update
* update
* replaced double quotes
* Made message.guild and message.member nullable
* replaced double quotes again (oops)
* missing semicolons
* removed fetch from Omit
* Added Partialize generic type
* Created interfaces (prettier intellisense)
* joinedAt/joinedTimestamp are nullable and fixed conflict
2019-10-12 00:52:00 +02:00
Antonio Román
a60f8b3d49
src(constants): add missing APIErrors ( #3531 )
...
* src: Updated APIErrors
* typings: Updated constants
2019-10-11 11:01:16 +02:00
izexi
a8f06f251f
feat(VoiceState): add VoiceState#streaming ( #3521 )
...
* feat: add VoiceState#streaming
* typings: add VoiceState#streaming
2019-10-04 16:44:35 +02:00
Souji
48856c0815
fix: set messages deleted when their channel is deleted ( #3519 )
2019-10-04 16:44:04 +02:00
Souji
2610bf57ae
feat(GuildChannel): backport permissionsLocked getter ( #3507 )
...
* backport(GuildChannel): GuildChannel#permissionsLocked
* typings: GuildChannel#permissionsLocked
* fix(typings): mark permissionsLocked getter as readonly
2019-10-04 16:43:12 +02:00
rei2hu
8ddd0616a9
fix(Util): make arraysEqual avoid mutating the input arrays ( #3506 )
2019-10-04 16:39:56 +02:00
SpaceEEC
a8e365743c
typings: optional reason for setNSFW and add deleted properties ( #3505 )
...
* typings: optional reason for setNSFW and add deleted properties
* typings(Guild): setDefaultMessageNotifications' reason is also optional
2019-10-04 11:20:56 +02:00
izexi
94ce19dd1a
typings: mark GuildMember#nickname as nullable ( #3517 )
2019-10-04 11:19:55 +02:00
izexi
3458693748
typings: mark GuildMember#nickname as nullable ( #3516 )
2019-10-04 11:19:46 +02:00
Souji
2a78b00454
fix(typings): GuildChannel#parent and #parentID are nullable ( #3509 )
2019-10-02 14:26:53 +02:00
Souji
e936f071c0
fix(typings): GuildChannel#parentID is nullable ( #3508 )
2019-10-02 14:26:42 +02:00
Vlad Frangu
a4f06bdffd
src: support new message fields ( #3388 )
...
* src: Update channel pattern
* src: Remove useless non-capture group
* src: it's as though we're starting fresh
* src: Bring this up to date for reals now
* src: typings and a bug fix
* src: Add crossposted channels to message mentions
* src: Requested changes and add typings
* src: Move Object.keys outside loop
* typings: Fix enum being exported when it shouldn't
* src: Consistency with roles and users
* docs: Correct docstring for MessageFlags#flags
* docs: Correct docstring for MessageMentions#crosspostedChannels
* docs: Suggestions
Co-authored-by: SpaceEEC
* src: Reset flags to 0 if no flags are received on MESSAGE_UPDATE
2019-10-01 11:01:55 +02:00
Ryan Munro
505df2ebb3
backport(Guild): createChannel's default type incorrectly set ( #3497 )
...
Backports #3496 (a03e439d6b ) to the 11.5-dev branch
2019-10-01 10:59:02 +02:00
Ryan Munro
a03e439d6b
fix(GuildChannelStore): default channel type incorrectly set ( #3496 )
2019-10-01 10:56:14 +02:00
Jiralite
41c0dd44eb
fix(BitField): throw when resolving invalid string constant
...
Checked to see if the permission actually exists.
2019-10-01 10:46:49 +02:00
Vlad Frangu
ea8b4e7355
docs/typings: Rename LURKABLE to PUBLIC and update GuildFeatures type ( #3484 )
...
* docs: Rename LURKABLE to PUBLIC
* typings: Update GuildFeatures type
2019-09-25 23:28:12 +02:00
Gryffon Bellish
d280d1b03f
style: change let to const in MessageMentions ( #3483 )
2019-09-24 17:36:19 +02:00