discord.js/src/structures
Kyra d4c0bb2a0d feat(TextChannel): RateLimitPerUser (#2811)
* feat: Add TextChannel#rateLimitPerUser
Rename parameter in TextChannel#setRateLimitPerUser
feat: Add `rateLimitPerUser` param to ChannelData
fix: eslint

* docs: Updated typings

* fix: Requested changes

* fix: rateLimitPerUser being undefined when 0

When `rate_limit_per_user` is 0, the gateway does not send it (but REST does). When this is set to a non-zero number, this property starts to exist. Otherwise this will be `0`. Adding `|| 0` should do the trick changing `undefined` to `0`.

* fix: eslint
2018-09-29 16:02:49 +02:00
..
interfaces docs: correct default value for SplitOptions.maxLength in Util#splitMessage (#2847) 2018-09-23 21:35:56 +02:00
APIMessage.js refactor: remove duplicate send checks (#2790) 2018-09-21 10:59:58 +02:00
Base.js Add toJSON methods (#1859) 2018-03-01 23:00:21 -06:00
CategoryChannel.js docs: doc changes 2018-01-27 23:41:25 -06:00
Channel.js feat: Add "deleted" property to multiple structures. (#2556) 2018-05-28 17:42:51 -05:00
ClientApplication.js fix(ClientApplication): Message#application is a partial ClientApplication 2018-08-22 19:26:57 +02:00
ClientPresence.js add ClientPresence, remove ClientPresenceStore 2018-08-11 10:46:51 +01:00
ClientUser.js add ClientPresence, remove ClientPresenceStore 2018-08-11 10:46:51 +01:00
DMChannel.js feat(TextBasedChannel): add lastPinTimestamp and lastPinAt (#2813) 2018-09-03 09:11:52 +02:00
Emoji.js feat: Add "deleted" property to multiple structures. (#2556) 2018-05-28 17:42:51 -05:00
GroupDMChannel.js feat(TextBasedChannel): add lastPinTimestamp and lastPinAt (#2813) 2018-09-03 09:11:52 +02:00
Guild.js feat: Guild Integrations (#2760) 2018-08-24 16:03:29 +02:00
GuildAuditLogs.js fix(GuildAuditLogs): default target to object with target_id (#2742) 2018-08-15 09:58:27 +02:00
GuildChannel.js feat(TextChannel): RateLimitPerUser (#2811) 2018-09-29 16:02:49 +02:00
GuildEmoji.js GuildEmoji.fetchAuthor() error handling (#2788) 2018-09-01 04:52:50 +02:00
GuildMember.js fix: actually fix Readonly typos 2018-08-21 14:25:30 -05:00
Integration.js feat: Guild Integrations (#2760) 2018-08-24 16:03:29 +02:00
Invite.js cleanup(Invite): remove outdated props, properly default to null (#2807) 2018-08-29 12:41:53 +02:00
Message.js refactor: remove duplicate send checks (#2790) 2018-09-21 10:59:58 +02:00
MessageAttachment.js docs(MessageAttachment): redocument name property 2018-09-22 11:45:03 +02:00
MessageCollector.js fix: prevent max listener problems with collectors (#2521) 2018-05-04 02:11:52 -05:00
MessageEmbed.js refactor: rewrite message creation (#2774) 2018-08-21 18:22:29 +02:00
MessageMentions.js misc: Remove Clyde (#2764) 2018-08-18 13:21:24 +02:00
MessageReaction.js fix(MessageReaction): only delete reaction if cache and count is empty (#2661) 2018-07-23 16:32:51 -04:00
PermissionOverwrites.js refactor: comprehensive permissionOverwrites refactor (#2818) 2018-09-21 12:21:51 +02:00
Presence.js fix: actually fix Readonly typos 2018-08-21 14:25:30 -05:00
ReactionCollector.js fix: emit ReactionCollector#remove when reaction is removed by collected user (#2803) 2018-09-01 05:02:30 +02:00
ReactionEmoji.js Add toJSON methods (#1859) 2018-03-01 23:00:21 -06:00
Role.js fix: actually fix Readonly typos 2018-08-21 14:25:30 -05:00
TextChannel.js feat(TextChannel): RateLimitPerUser (#2811) 2018-09-29 16:02:49 +02:00
User.js Remove double iteration (#2773) 2018-08-19 13:37:00 +02:00
VoiceChannel.js Fix permission checking for Administrator channel overwrites (#2756) 2018-08-17 08:46:09 +01:00
VoiceRegion.js cleanup(VoiceRegion): remove no longer existing sampleHostname (#2759) 2018-08-18 10:57:08 +02:00
VoiceState.js Consistency with Getters. 2018-08-12 07:41:10 +01:00
Webhook.js fix(Webhook): APIMessage require should be a const 2018-09-23 17:04:22 +02:00