SpaceEEC
c955fd00c7
feat(Integration): add guild integrations ( #3756 )
2020-02-02 11:11:31 +01:00
SpaceEEC
a12e1e87ee
typings(Constants): add CUSTOM_STATUS to ActivityTypes
2020-02-01 21:14:02 +01:00
SpaceEEC
17b8b23b80
feat(Presence/Game): multiple activities and custom status ( #3747 )
...
* feat(Presence): add activities
* feat(Game): add created* and emoji
2020-02-01 18:27:20 +01:00
SpaceEEC
ccd60438df
feat(Collector): add idle option ( #3746 )
2020-02-01 18:23:56 +01:00
SpaceEEC
fbcd363ec9
fix(Voice*): fix speaking event and voice receive ( #3749 )
...
* fix(Voice*): synthesize speaking event from UDP packets
* fix(VoiceReceiver): skip over undocumented Discord byte
See #3555
* fix(VoiceConnection): play frame silence before emitting ready
* typings: account for changes in private api
2020-01-31 22:37:11 +01: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
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
Ryan Munro
40afbc1d7e
feat(Client): backport INVITE_CREATE and INVITE_DELETE events ( #3728 )
...
* Backport INVITE_CREATE and INVITE_DELETE
* Register events to Websocket
* Dont create an Invite if the guild is null
* Null check channel too
2020-01-24 16:34:59 +01:00
Ryan Munro
17237c70c8
typings(TextChannel): topic can be null ( #3687 )
...
* Mark topic as nullable for TextChannel
* Backport separate NewsChannel typings
* Ensure NewsChannel#rateLimitPerUser is undefined
* Revert rateLimitPerUser, considered breaking
* Add rateLimitPerUser back to typings
* Linting
* Revert NewsChannel extends TextBasedChannel
2020-01-24 16:33:19 +01:00
SpaceEEC
01826aeefe
feat(Guild): add setBanner method and banner to edit ( #3708 )
2020-01-19 13:07:09 +01: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
367c80070f
feat(Permissions): add any method ( #3571 )
...
* feat(Permissions): add any method
* typings: add Permissions#any
* fix(Permissions): resolve doesn't take a checkAdmin parameter
Co-Authored-By: bdistin <bdistin@gmail.com >
* docs(Permissions): remove trailing space, add returns annotation
Co-authored-by: bdistin <bdistin@gmail.com >
2020-01-05 18:24:08 +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
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
Souji
2a78b00454
fix(typings): GuildChannel#parent and #parentID are nullable ( #3509 )
2019-10-02 14:26:53 +02:00
Vlad Frangu
748555036d
typings: Add missing rateLimitPerUser property ( #3480 )
2019-09-22 17:07:44 +02:00
Ryan Munro
dcee09c308
backport(Permissions): backport STREAM permission from #3309 ( #3447 )
...
* Backport the STREAM permission
* Update typings and default
2019-08-28 11:09:45 +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
Schuyler Cebulskie
e82633fb00
Bump version to 11.5.0
2019-05-11 19:05:10 -04:00
Schuyler Cebulskie
8fba786765
Update typings for news/store channels
2019-05-11 18:56:14 -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
12e041bc2b
typings(GuildChannel): add manageable getter
2019-04-17 21:39:46 +02:00
Ryan Munro
831f988fe2
typings(Collection): add typings for partition ( #3166 )
2019-04-01 09:35:17 +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
Souji
be2f78851f
docs/typings: RateLimitInfo#limit instead of requestLimit ( #3132 )
...
* fix doc for ratelimit data, fixes #3131
* adapt typings
* typings: unindent #region comments
2019-03-07 16:34: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
5272cec6c8
feat(Util): add WHITE as color resolvable ( #3062 )
2019-02-09 23:52:38 +00:00
Lucas Kellar
8b602ebed4
typings(SnowflakeUtil): add optional "timestamp" parameter to generate ( #2998 )
2019-02-06 19:14:52 +01:00
SpaceEEC
17ca83663f
typings(TextBasedChannel): fix create(Message)Collector's options type
2019-01-06 17:51:27 +01:00
SpaceEEC
9d83516918
typings(Guild): fix typos in method names
...
Fixes #3009
2018-12-31 18:21:22 +01:00
SpaceEEC
351f0a32bf
typings(RichEmbed): add MessageEmbed as valid data in constructor
...
See #2970
2018-11-26 18:08:31 +01: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
fcf4745a43
typings: fix lint script and linter errors
2018-10-04 19:29:12 +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
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
Lewdcario
2e2c9c4b9a
typings: clean up permissionResolvable
2018-08-26 11:55:10 -06:00