SpaceEEC
ccd60438df
feat(Collector): add idle option ( #3746 )
2020-02-01 18:23:56 +01:00
SpaceEEC
6d7e1e4953
fix: remove for..in in favor of Object.keys ( #3745 )
2020-01-31 11:38:47 +00:00
Ryan Munro
ab7f9e80b4
feat(MessageReaction): backport removeAll and MessageReactionRemoveEmoji event ( #3741 )
...
* Add new action and websocket handler
* Add REST method for removing reaction emoji
* Update Message#_removeReaction to handle removing whole emoji
* Add MessageReaction#removeAll and update typings
* Apply uncached user fix
2020-01-25 15:36:35 +01:00
SpaceEEC
099a1a47e8
fix(*Collector): always run postCheck, remove 'translatation' of message collector options ( #3718 )
...
* fix(*Collector): always run postCheck, correctly 'translate' message collector options
* fix(MessageCollector): remove translation, fix postCheck conditions
2020-01-24 16:56:04 +01:00
SpaceEEC
30adb378fc
feat(Webhook): backport missing properties ( #3710 )
...
* feat(Webhook): add avatarURL getter
This backports: https://github.com/discordjs/discord.js/pull/3625
* feat(Webhook): add type, createAt, and createdTimestamp
This backports: https://github.com/discordjs/discord.js/pull/3585
* feat(Webhook): add url getter
This backports: https://github.com/discordjs/discord.js/pull/3178
* docs(Webhook): add missing type and readonly tags
2020-01-24 16:52:52 +01:00
SpaceEEC
88b675d38a
feat(MessageReaction): backport animated, client, created*, and url ( #3711 )
2020-01-24 16:50:16 +01:00
SpaceEEC
4ca18647ba
feat(MessageAttachment): add spoiler getter ( #3713 )
2020-01-24 16:45:52 +01:00
SpaceEEC
a505a55e03
fix(RichPresenceAssets): add Twitch preview link for largeImageURL ( #3715 )
2020-01-24 16:43:16 +01:00
SpaceEEC
903f6ca75f
fix: only setMaxListeners when max listeners is not 0 ( #3716 )
2020-01-24 16:41:37 +01:00
Souji
d8419ac2c7
docs(MessageMentions): backport mention order notice ( #3712 )
2020-01-19 13:09:33 +01:00
SpaceEEC
01826aeefe
feat(Guild): add setBanner method and banner to edit ( #3708 )
2020-01-19 13:07:09 +01:00
Ryan Munro
0f49d67e2e
feat(Message/Mentions): implement caching of members ( #3684 )
...
* Convert message#member to a getter
* Try to cache members from data in message payloads
* Cache mentioned members
* Revert Message#member getter - breaking change
* Revise member caching
* Revise member mention caching
* Pass member to _addMember correctly
* Use message.guild instead of this.guild
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* Merge if's onto one line
* fix(Message): use this.author.id to check cache
Discord does not send an id in the member data here
* chore(Message): reindent equals
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-01-19 12:27:57 +01:00
SpaceEEC
36c0496ea5
fix(Guild): assign GuildMember#selfStream, if present, when adding a member
2020-01-13 21:43:42 +01:00
Ryan Munro
f6d1db6a24
Backport documentation fixes ( #3683 )
...
* Presence does not extend Base, therefore presence.client was undocumented
* Document Client#fetchVoiceRegions returning a promise
2020-01-13 14:00:13 +00:00
SpaceEEC
fbe9bc499b
feat(Webhook): add ability to change channel and specify reason to edit ( #3587 )
...
* feat(Webhook): add ability to change channel and specify reason to edit
* fix(RESTMethods): update channelID of the webhook too
2020-01-05 18:34:00 +01:00
SpaceEEC
96037e107f
feat(GuildMember): add selfStream ( #3522 )
2019-10-27 10:27:43 +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
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
Vlad Frangu
43c0a794e1
fix(GuildAuditLogsEntry): default to object with id for deleted targets ( #3373 )
2019-08-28 11:22:25 +02:00
SpaceEEC
1121b2f7bf
fix(GuildChannel): return GuildChannel in setPosition instead of Guild
...
fixes #3413
2019-07-30 17:46:22 +02:00
SpaceEEC
0cd7556934
feat(Teams): backport support for teams ( #3357 )
...
* feat(Teams): backport support for teams
PR #3350
Commit: a22aabf6a8
* fix(TeamMember): fix name of client property
* refactor(OAuth2Application): make team nullable instead of optional
* typings(OAuth2Application): make team nullable instable of optional
* docs(OAuth2Application): deprecate and add an info to team property
2019-07-11 13:10:54 +02:00
SpaceEEC
c355236f7f
feat(Emoji): backport delete method ( #3343 )
...
This backports #1877 (c93c4ad21f ) in a semver-minor manner.
2019-06-16 10:07:32 +02:00
SpaceEEC
b8924369ea
feat(Guild): add support for premium/boosting ( #3332 )
...
Backports:
PR: #3316
Commit: c87758086b
2019-06-13 19:03:36 +02:00
SpaceEEC
e6a378b361
feat(Guild): backport misc properties and setRolePositions ( #3337 )
...
* feat(Guild): backport misc properties and setRolePositions
PRs:
* #3168
* #3317
* typings
2019-06-13 18:33:07 +02:00
SpaceEEC
6f49aadf4f
fix(Guild): allow fetchMember to be used with an uncached user ( #3333 )
2019-06-08 10:39:03 +02:00
Gryffon Bellish
0c6101901d
fix(docs): backport documentation for Presence#clientStatus ( #3315 )
...
* backport documentation for Presence
* capitalize o
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* remove extra space
* backport ClientPresenceStatus
* Change to Client Presence Status
2019-06-01 20:24:22 +02:00
SpaceEEC
db492e66e2
chore: explicitly mark everything deprecated as @ deprecated ( #3307 )
2019-05-29 22:18:14 +02:00
bdistin
8c213e9088
fix(Message#pinnable): you can't pin system messages ( #3279 )
2019-05-18 19:06:15 +02:00
Fong Jian Ping
e3d03adcf8
docs(ChannelCreationOverwrites): revert incorrect rename of "id" property ( #3273 )
...
Reverts one incorrect change made in #2734 (3021e5ce7f (diff-e5c54069adfa0d32480eb3cc9faeee20L979) )
* Fix incorrect docs in Guild.js
* Update src/structures/Guild.js
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* Update Guild.js
2019-05-16 13:06:07 +02:00
anandre
363cec31bc
docs(TextChanne): specify unit of rateLimitPerUser ( #3272 )
...
* Update TextChannel.js
Update `setRateLimitPerUser` description to specify the `number` is in seconds, per the Discord docs
* Update TextChannel.js
Add unit to the rateLimitPerUser property
* Update GuildChannel.js
2019-05-15 22:42:39 +02:00
SpaceEEC
c844a7b4e2
docs(Guild): fix typo in example of createChannel
2019-05-14 20:12:57 +02:00
Schuyler Cebulskie
43f2485c9c
Document news/store channel types on Guild#createChannel
2019-05-11 18:11:34 -04:00
Schuyler Cebulskie
5e4654ee07
Backport news/store channels
2019-05-11 14:58:46 -04:00
SpaceEEC
ee42bdfd76
feat(GuildMember): add support for voice kicking ( #3246 )
...
This backports e64773e21b (#3242 )
2019-05-06 19:18:29 +02:00
SpaceEEC
923c945b4b
fix(Guild): sort roles with the same position in the correct order ( #3184 )
2019-04-08 14:06:50 +02:00
izexi
5cd6d8d380
feat(Guild): add fetchBan and withReasons to fetchBans ( #3170 )
...
* add Guild#fetchBan() & backport BanInfo
* and the typings
* requested changes
* typings overloads
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
* nullable reason typings
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
2019-04-01 09:07:52 +02:00
Amish Shah
6e761eb030
fix typo
2019-02-26 13:10:39 +00:00
SpaceEEC
32ad56a562
docs(Guild): update createChannel examples to not use deprecated overload
2019-02-25 11:09:46 +01:00
SpaceEEC
45a17e7ebd
fix(Emoji): reject explicit error when MANAGE_EMOJI permissions are missing ( #3063 )
2019-02-12 10:16:23 +01:00
SpaceEEC
49e8bd9edd
feat(RichEmbed): add timestamp support for setTimestamp ( #3061 )
2019-02-12 10:15:37 +01:00
SpaceEEC
890b1be714
feat(RichEmbed): add length getter ( #3057 )
2019-02-12 10:11:44 +01:00
SpaceEEC
a2a0c05102
feat(Presence): add clientStatus ( #3056 )
2019-02-12 10:10:33 +01:00
SpaceEEC
73aaab5106
fix(Guild): ignore voice states referencing an invalid channel
...
This was causing an uncaught exception on startup (or whenever receiving such a payload) which is crashing the process.
2019-01-17 11:34:10 +01:00
SpaceEEC
46fd7b093c
docs(Guild): use AuditLogAction for fetchAuditLogs' type option
2019-01-10 13:05:33 +01:00
SpaceEEC
89a9b93cdc
docs(Webhook): add mising '@name' to Webhook#token's docstring
2018-12-30 12:56:33 +01:00
Drahcirius
7186c91063
fix(TextBasedChannel): added missing lastMessage functionality in textchannels ( #2999 )
2018-12-23 22:16:50 -06:00
izexi
2aa8e1d9c1
docs:(TextChannel): add documentation for messages and lastMessage ( #2986 )
...
* [docs] add missing docs for <TextChannel>.messages
* add missing doc for <TextChannel>.lastMessage
2018-12-22 08:25:24 +01:00
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