Commit Graph

3110 Commits

Author SHA1 Message Date
Darqam
5ed2a95856 docs(Client): add missing parenthesis in fetchInvite example (#3023)
This is already fixed in master, resolves #3022
2019-01-16 19:17:19 +01:00
SpaceEEC
46fd7b093c docs(Guild): use AuditLogAction for fetchAuditLogs' type option 2019-01-10 13:05:33 +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
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
351f0a32bf typings(RichEmbed): add MessageEmbed as valid data in constructor
See #2970
2018-11-26 18:08:31 +01:00
SpaceEEC
691aaef07e backport(Guild): support for rateLimitPerUser when creating a channel
PR: #2878
Commit: 8ec3b5134d
2018-11-17 17:24:48 +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
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
fcf4745a43 typings: fix lint script and linter errors 2018-10-04 19:29:12 +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
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
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
Crawl
7684ad3ca6 fix(webpack): properly emitting process deprecation warnings 2018-08-22 04:54:09 +02:00
Isabella
552323363b fix: disable getter-return 2018-08-21 12:40:49 -05:00
Isabella
d3e7dbc738 fix: pin & update deps 2018-08-21 11:37:08 -05: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
f5b3dff7f5 typings: make PermissionResolvable recursive 2018-08-15 15:13:08 +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
zajrik
efc8445260 refactor: Merge typings into 11.4-dev branch 2018-08-13 22:20:33 -05:00
Amish Shah
ebfbf20f07 Bump to 11.4.2 11.4.2 2018-08-13 15:19:21 +01: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
Schuyler Cebulskie
b5df8603e8 Update version in web builds example 11.4.1 2018-08-12 17:01:32 -04:00
Kolkies
8b1bb95b1a docs: update for 11.4.0 (#2727)
* Update for 11.4.0 docs
2018-08-12 13:20:08 -05:00
Lewdcario
6775684ff0 chore: update typings & bump version 2018-08-12 13:14:52 -05:00