SpaceEEC
6aa7792097
docs(GuildChannel): add rateLimitPerUser to ChannelData typdef
2018-11-17 17:19:04 +01:00
Souji
980d71f307
fix:(GuilChannel): clone method not taking overwrites into account ( #2932 )
2018-11-06 20:01:48 +01:00
Amish Shah
b3f459091f
Fix #2928 (member not being removed from voice channel after leaving guild)
2018-11-04 12:26:06 +00:00
Isabella
950abd4ac3
fix: revert #2768 ( #2848 )
...
* fix: revert #2768
* fix merge
2018-10-14 11:44:02 -05:00
SpaceEEC
7ea88adeca
backport(Guild): support for createChannel with options object ( #2888 )
2018-10-10 10:05:32 +02:00
SpaceEEC
ea3e575546
backport(TextBasedChannel): add lastPinTimestamp and lastPinAt ( #2870 )
...
And clarify Client#channelPinsUpdate's 'time' parameter.
2018-10-10 10:01:04 +02:00
SpaceEEC
b92f8d9c06
docs(Game): document possible values for type property
...
See #2865
2018-10-04 13:31:26 +02:00
SpaceEEC
c6201ee41b
backport(Guild): add fetchVanityCode ( #2871 )
2018-10-03 17:31:20 -05:00
Isabella
1e85887229
backport: rateLimitPerUser ( #2874 )
2018-10-03 17:21:26 -05:00
SpaceEEC
e0f522a745
backport(ClientOptions): add retryLimit ( #2869 )
2018-10-03 17:20:53 -05:00
SpaceEEC
9de3e098da
docs(User): clarify what User#tag represents
...
Closes #2828
2018-09-10 18:11:09 +02:00
Crawl
641ee86105
build(peer-deps): use uws fork backport ( #2782 )
...
* build(peer-deps): uws backport
* chore: update to 149 for uws
2018-08-30 17:55:31 -05:00
Souji
da2d4d7230
docs: correct Guild#memberCount ( #2812 )
2018-08-30 00:15:05 -05:00
Kyra
cd58599caf
fix(Guild#deleteEmoji): reject non emojis / emoji IDs ( #2793 )
...
* fix(Guild#deleteEmoji): Performing wrong checks
* fix: requested changes
`a string` -> `an id`
* fix: requested changes
`id` -> `ID`
2018-08-29 08:45:27 +02:00
Kyra
b83fdbfefe
docs: Added url to Invite's warning comment ( #2804 )
...
And added the [serial comma](https://en.wikipedia.org/wiki/Serial_comma )
2018-08-28 19:12:12 -05:00
Kyra
89986ae293
backport: UNKNOWN_WEBHOOK ( #2777 )
2018-08-28 10:35:34 -05:00
Kyra
091b4fc214
backport: Guild#{fetchEmbed,setEmbed} ( #2778 )
...
* backport: Guild Embeds
* fix: Added missing return
* docs: Updated typings
2018-08-28 10:33:51 -05:00
Kyra
3345c77ce2
backport: GUILD_INTEGRATIONS_UPDATE event ( #2794 )
...
* backport: Client#on{guildIntegrationsUpdate,webhookUpdate}
misc: Update Constants.WSEvents and WSEventType
backport: Add guildIntegrationsUpdate event handler
* docs: Updated typings
2018-08-28 10:25:44 -05:00
Ash
1fc84a95d0
fix(GuildChannel#lockPermissions): Properties allow and deny always returning undefined ( #2800 )
...
* fix undefined properties
* requested changes
2018-08-26 13:11:00 -05:00
Kyra
58ba2c7b14
backport: Deprecate allowed/denied as #2765 ( #2792 )
2018-08-26 13:03:02 -05:00
Kyra
453098117f
backport: WEBHOOKS_UPDATE event ( #2779 )
2018-08-26 11:59:15 -05:00
Lewdcario
93bf430fc7
fix: Guild#addMember incorrectly resolving userID
2018-08-26 09:46:55 -06:00
Kyra
469fbe2889
docs(Emoji): fix typo of the word "emoji" ( #2791 )
2018-08-24 18:31:43 +02:00
Kyra
911e289b55
backport: User#dmChannel perf enhancement ( #2780 )
2018-08-22 11:52:21 +02:00
Isabella
4ee3cf0b55
fix: WebhookClient should handle ratelimits properly
2018-08-21 11:12:02 -05:00
Kyra
dc8cf08de9
backport: handle async stacktraces correctly ( #2768 )
2018-08-21 10:31:32 +02:00
SpaceEEC
5d889be6db
fix(Permissions): Permissions itself is a valid PermissionResolvable
...
fixes #2753
2018-08-15 13:55:04 +02:00
SpaceEEC
616e0dd398
fix(Message): properly check for an edited_timestamp in patch
...
Fixes #2750
2018-08-15 09:18:17 +02:00
Souji
3021e5ce7f
Docs: document ChannelData.parent and .permissionOverwrites, fix typedefs to not include Collection of ChannelCreationOverwrite ( #2734 )
...
* document ChannelData.parent
* document ChannelData.permissionOverwrites
* Overwrites also take other things, account for it
* note to self: stop copy-pasting
* remove eslint madness, fix param defs
* fix property slip
2018-08-13 15:17:09 +01:00
Lewdcario
d772bff632
fix(ClientDataManager): replacing channels unecessarily
2018-08-12 11:50:01 -05:00
SpaceEEC
8adfc97409
docs(Client): actually fix rateLimit's event params
2018-08-11 09:38:58 +02:00
Lewdcario
0e370d7a4c
docs: fix client#rateLimit parameters
2018-08-09 14:58:17 -05:00
Lewdcario
7126cade45
fix: richEmbed#_apiTransform fields
2018-08-09 13:52:50 -05:00
Souji
bafbee9677
docs: small changes regarding permissions/overwrites ( #2718 )
...
* Add Collection as param to GuildChannel#replacePermissionOverwrites
* Add example for null to PermissionOverwriteOptions
* eslint-disable max-len
* PermissionOverwriteOptions desc. change default to unset
* deprecated allow/deny in favor of allowed/denied
2018-08-09 10:52:59 -05:00
Lewdcario
6da423fc07
backport: Permissions#toArray
2018-08-08 22:17:08 -05:00
Lewdcario
1e5b5b83c8
backport: GuildChannel#permissionsFor(role)
2018-08-08 22:16:46 -05:00
Lewdcario
c76f3048af
backport: TextChannel#bulkDelete accepts Snowflake[]
2018-08-08 17:14:52 -05:00
Souji
af6d649510
docs: change for GuildChannel#replacePermissionOverwrites ( #2714 )
2018-08-08 16:09:39 -05:00
SpaceEEC
c7f379f51d
docs(RichEmbed): timestamp is actually a Date
2018-08-07 21:46:54 +02:00
SpaceEEC
4a48a7d621
docs(ShardingManager): respawnAll actually resolves with a collection of shards keyed by numbers
2018-08-07 21:36:03 +02:00
Lewdcario
c33ab1ea61
backport: add PRIORITY_SPEAKER permission
2018-08-03 19:09:09 -06:00
Lewdcario
87b4b23596
backport: fix circular conversion when editing RichEmbed
2018-08-03 15:33:51 -06:00
Lewdcario
b63948e14e
backport: RichEmbed#attachFiles
2018-08-02 15:06:27 -06:00
Lewdcario
4a9c2f8884
fix(Emoji#fetchAuthor): reject with Error rather than TypeError
2018-07-26 14:35:26 -06:00
Lewdcario
41f6eaa635
backport: Message#url getter
2018-07-26 11:22:29 -06:00
Lewdcario
95a2d25b7d
chore: deprecate userbot methods
2018-07-26 11:18:41 -06:00
Lewdcario
d685e39af4
backport: add rejection for Emoji#fetchAuthor if managed
...
Signed-off-by: Lewdcario <isabellafj97@gmail.com>
2018-07-26 10:24:26 -06:00
Lewdcario
96011cf68f
backport: make Webhook token not enumerable
2018-07-26 09:51:47 -06:00
Isabella
488b1eb4ee
backport: Sharding utility methods ( #2672 )
2018-07-25 12:08:08 -04:00
Lewdcario
6d70da5b1e
backport: fix circular conversion in RichEmbed
2018-07-23 22:41:07 -06:00
Lewdcario
e4da97e058
eslint: re-enable eslint after disabling max-len
2018-07-23 14:34:38 -06:00
SpaceEEC
886c21223e
fix(GuildAuditLogs): default to PartialGuildChannel if channel deleted ( #2605 )
2018-07-18 11:38:59 +02:00
Gymnophoria
a97b5040e6
docs(Client): clarify messageReactionRemove event's user description ( #2657 )
...
* Clarify messageReactionRemove user description
* Update MessageReactionRemove.js
* wait one more word difference lol
2018-07-18 11:37:36 +02:00
Lewdcario
524a15df0b
backport: Permissions improvements
2018-07-17 21:49:21 -05:00
Lewdcario
0702a0fcda
backport: DefaultMessageNotifications
2018-07-17 21:32:24 -05:00
SpaceEEC
1d9edec567
fix(Message): keep reply option when replying with an embed or attachment
...
Fixes #2651
2018-07-08 21:40:12 +02:00
Amish Shah
d81441f627
voice: null-check UDP socket
2018-07-03 14:15:27 +01:00
Amish Shah
695ff1e70f
voice: fix #2635 (channel bitrate not being set)
2018-07-02 19:45:35 +01:00
Lewdcario
a667e44c4d
fix(Client): login catch
2018-07-01 10:05:56 -05:00
Lewdcario
3d82ca901b
docs: improvements in various places
...
* Client#login example consistency
* add warning to Client#fetchApplication
* incorrect WEBHOOK_DELETE value
2018-06-29 19:38:20 -05:00
Lewdcario
448f38429d
fix(Client): login not properly rejecting on invalid token
2018-06-29 19:38:06 -05:00
Lewdcario
3fa9ed1f42
backport: deleted property
2018-06-29 19:11:50 -05:00
Lewdcario
72346fb47e
fix(TextBasedChannel): bulkDelete should not return non-Promise
2018-06-29 17:32:56 -05:00
Camzure
7ce1d1642c
docs: only cached messages emit reaction events ( #2607 )
...
* wording improvement
* wording improvement for docs
* docs: wording
* wording
* user account only: docs
* Edited
* Edited
Signed-off-by: SpaceEEC <spaceeec@yahoo.com>
2018-06-21 21:40:52 +02:00
SpaceEEC
8a3ae875bb
fix: do not cache webhook users ( #2611 )
...
Goal in mind is to not save the name and avatar used by webhooks because
those can change between messages without any other update.
2018-06-21 21:34:30 +02:00
SpaceEEC
bd3d8d48c0
docs(GuildMember): joinedAt is nullable
...
See: ecf6e2b62d
2018-06-21 21:24:53 +02:00
RumbleFrog
493ba73037
fix(ShardClientUtil): send method's promise erroneously rejecting ( #2604 )
...
Patches the remaining ones that were missed in eef4a4ad17
2018-06-17 08:21:51 +02:00
reeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
507cce3ff4
docs: document lastMessageID for TextChannel and (Group)DMChannel ( #2602 )
...
* Adds JSDocs for TextChannel.lastMessageID
* oops
* docs: document lastMessageID in (Group)DMChannel as well
2018-06-16 22:10:24 +02:00
Lewdcario
6de5acbac3
backport: RichPresence
2018-06-09 15:37:01 -05:00
Lewdcario
ecf6e2b62d
fix(GuildMember): mark joined as nullable
2018-06-09 15:15:08 -05:00
Lewdcario
caa4104b95
docs: GuildMember#speaking
...
closes #2540
also improves consistency
2018-06-05 00:31:06 -05:00
Lewdcario
f238883046
fix(MessageReaction): fetchUsers inconsistency
...
Unlike TextChannel#fetchMessages, this method returned the cache rather than the fetched items, so in interests of consistency, this does as well now
closes #2574
2018-06-05 00:31:03 -05:00
Lewdcario
eef4a4ad17
fix(Shard): erroneously returning false
...
The node documentation fails to correctly document when the backlog of unsent messages exceeds a certain threshhold the function will return false. This does not mean it will refuse to send- simply that it will take time. Issue in point: https://github.com/nodejs/node/issues/7657#issuecomment-240581726
2018-06-05 00:31:00 -05:00
Lewdcario
c699888780
docs: add examples & improve notices
2018-06-05 00:30:50 -05:00
Lewdcario
0387d34ab4
fix(VoiceChannel): deletable erroneously returning true
2018-06-04 17:18:27 -05:00
Adrien Brignon
13880fe7de
docs(Guild): handle error in example of fetchInvites correctly ( #2568 )
2018-05-27 20:59:12 +02:00
SpaceEEC
f23b61794c
fix(ClientUser): correctly resolve nicks to an object in createGroupDM
2018-05-25 17:23:09 +02:00
SpaceEEC
f456f4c3c0
feat(Collection): backport partition method
...
Commit: a732402c95
PR: #2511
2018-05-25 16:49:10 +02:00
SpaceEEC
f921261f3f
fix(docs): remove duplicated Collection#findAll docstring
...
Also added intended @ deprecated decorators
2018-05-25 16:44:49 +02:00
Lewdcario
b2d1cb6a3d
docs: permissions
2018-05-12 00:51:08 -05:00
Lewdcario
09ddbcb88a
chore: deprecations
2018-05-12 00:40:12 -05:00
Lewdcario
6f02be2b2e
docs: rateLimit event
2018-05-11 23:21:39 -05:00
Lewdcario
0d90798c6c
backport: rateLimit event
2018-05-11 20:55:31 -05:00
Lewdcario
379061987c
fix: burst request mode hanging permanently
2018-05-11 19:27:34 -05:00
1Computer1
de7d90ada3
feat(Collection): add tap method ( #2507 )
...
* Add Collection#inspect
* No u
* Rename to tap
* Rename variable
* Do it here too
2018-05-09 16:46:54 +02:00
bdistin
2b6592ed54
feat(Collection): add sweep method ( #2528 )
2018-05-09 16:42:28 +02:00
SpaceEEC
9bb8831619
feat(GuildMember): add manageable getter
2018-05-09 16:38:28 +02:00
SpaceEEC
99041671f0
feat(GuildChannel): add fetchInvites method
...
Backported from commit: 47bc0fc51e
PR: #2339
2018-05-09 16:28:40 +02:00
SpaceEEC
dd7eedbd48
feat(Emoji): add fetchAuthor method
...
Backported from commit: e0cbf0bb60
PR: #2315
2018-05-09 16:20:41 +02:00
SpaceEEC
c0ca73a40c
feat(Game): add toString method
...
Backported from commit: 016526486c
PR: #2313
2018-05-09 16:08:59 +02:00
SpaceEEC
15a8e17710
fix(Guild): memberCount not decrementing when an uncached member leaves
...
Backported from commit: 93e083da4f
2018-05-09 16:07:20 +02:00
SpaceEEC
54913d9edb
feat(GuildChannel): add setNSFW method
...
Backported from commit: 0fc9459450
PR: #2050
2018-05-09 16:04:49 +02:00
Gus Caplan
9169958264
feat(Guild): add verified getter ( #2027 )
2018-05-09 15:52:00 +02:00
SpaceEEC
96b115ef7b
feat(ClientDataResolver): add 2 basic role colors
...
Commit: 3a3ca96b0d
PR: #2303
2018-05-08 22:35:35 +02:00
Will Nelson
2d831269ab
feat(Permissions): add valueOf method ( #2363 )
2018-05-08 22:30:27 +02:00
Jonah Snider
e5e59cce32
docs(Role): Change 'the this' to this (typo) ( #2377 )
...
Commit: 8b679913a4
2018-05-08 22:27:58 +02:00
Pascal
ae28f52e0d
fix(ClientDataResolver): always resolve with a buffer when fetching a file
...
Commit: 85413481ed
2018-05-08 22:25:49 +02:00
SpaceEEC
9264511092
docs(ClientUser): correct warning for createGuild method
...
Backported from: 2bf68dcdfb
PR: #2453
2018-05-08 22:06:07 +02:00
SpaceEEC
2f2e28183b
fix(Role): allow role color to be removed
...
Backported from: f985b6bef3
PR: #2447
2018-05-08 22:05:56 +02:00
SpaceEEC
54fa5f644f
docs(GroupDMChannel): fix top 'an user' -> 'a user'
2018-05-08 20:14:23 +02:00