Commit Graph

68 Commits

Author SHA1 Message Date
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
Lewdcario
bd14d5d2fa typings: add WEBHOOKS_UPDATE 2018-08-26 11:07:51 -06:00
SpaceEEC
f5b3dff7f5 typings: make PermissionResolvable recursive 2018-08-15 15:13:08 +02:00
zajrik
efc8445260 refactor: Merge typings into 11.4-dev branch 2018-08-13 22:20:33 -05:00
Lewdcario
6775684ff0 chore: update typings & bump version 2018-08-12 13:14:52 -05:00
Lewdcario
bef07152c8 chore: update typings & bump version 2018-08-09 11:47:52 -05:00
Amish Shah
16331d9e85 chore: update typings 2018-08-09 17:34:59 +01:00
SpaceEEC
fbbd8f43b3 chore: update typing submodule 2018-07-22 20:37:38 +02:00
iCrawl
ad93b90cd9 update typings 2018-03-03 02:53:24 +01:00
Pascal
be40858e32 chore: update typings submodule 2018-02-19 16:26:30 +01:00
Amish Shah
233889cf3a Update typings 2018-01-13 17:28:20 +00:00
iCrawl
a47c30e31a update submodule 2017-09-03 17:58:46 +02:00
Crawl
59122a6ba4 Update typings 2017-08-01 04:39:44 +02:00