Commit graph

3074 commits

Author SHA1 Message Date
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 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 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
Lewdcario
d772bff632
fix(ClientDataManager): replacing channels unecessarily 2018-08-12 11:50:01 -05:00
SpaceEEC
8adfc97409
docs(Client): actually fix rateLimit's event params 2018-08-11 09:38:58 +02:00
Amish Shah
72bb9cb532
voice deps: fix prism-media requirement 2018-08-09 22:40:31 +01:00
Lewdcario
0e370d7a4c
docs: fix client#rateLimit parameters 2018-08-09 14:58:17 -05:00
Lewdcario
7126cade45
fix: richEmbed#_apiTransform fields 2018-08-09 13:52:50 -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
Souji
bafbee9677 docs: small changes regarding permissions/overwrites (#2718)
* Add Collection as param to GuildChannel#replacePermissionOverwrites

* Add example for null to PermissionOverwriteOptions

* eslint-disable max-len

* PermissionOverwriteOptions desc. change default to unset

* deprecated allow/deny in favor of allowed/denied
2018-08-09 10:52:59 -05:00
Lewdcario
6da423fc07
backport: Permissions#toArray 2018-08-08 22:17:08 -05:00
Lewdcario
1e5b5b83c8
backport: GuildChannel#permissionsFor(role) 2018-08-08 22:16:46 -05:00
Lewdcario
c76f3048af
backport: TextChannel#bulkDelete accepts Snowflake[] 2018-08-08 17:14:52 -05:00
Souji
af6d649510 docs: change for GuildChannel#replacePermissionOverwrites (#2714) 2018-08-08 16:09:39 -05:00
SpaceEEC
c7f379f51d
docs(RichEmbed): timestamp is actually a Date 2018-08-07 21:46:54 +02:00
SpaceEEC
4a48a7d621
docs(ShardingManager): respawnAll actually resolves with a collection of shards keyed by numbers 2018-08-07 21:36:03 +02:00
Lewdcario
c33ab1ea61
backport: add PRIORITY_SPEAKER permission 2018-08-03 19:09:09 -06:00
Lewdcario
87b4b23596
backport: fix circular conversion when editing RichEmbed 2018-08-03 15:33:51 -06:00
Lewdcario
b63948e14e
backport: RichEmbed#attachFiles 2018-08-02 15:06:27 -06:00
Lewdcario
4a9c2f8884
fix(Emoji#fetchAuthor): reject with Error rather than TypeError 2018-07-26 14:35:26 -06:00
Lewdcario
41f6eaa635
backport: Message#url getter 2018-07-26 11:22:29 -06:00
Lewdcario
95a2d25b7d
chore: deprecate userbot methods 2018-07-26 11:18:41 -06:00
Lewdcario
d685e39af4
backport: add rejection for Emoji#fetchAuthor if managed
Signed-off-by: Lewdcario <isabellafj97@gmail.com>
2018-07-26 10:24:26 -06:00
Lewdcario
96011cf68f
backport: make Webhook token not enumerable 2018-07-26 09:51:47 -06:00
Isabella
488b1eb4ee
backport: Sharding utility methods (#2672) 2018-07-25 12:08:08 -04:00
Lewdcario
6d70da5b1e
backport: fix circular conversion in RichEmbed 2018-07-23 22:41:07 -06:00
Lewdcario
e4da97e058
eslint: re-enable eslint after disabling max-len 2018-07-23 14:34:38 -06:00
SpaceEEC
fbbd8f43b3
chore: update typing submodule 2018-07-22 20:37:38 +02:00
SpaceEEC
886c21223e
fix(GuildAuditLogs): default to PartialGuildChannel if channel deleted (#2605) 2018-07-18 11:38:59 +02:00
Gymnophoria
a97b5040e6 docs(Client): clarify messageReactionRemove event's user description (#2657)
* Clarify messageReactionRemove user description

* Update MessageReactionRemove.js

* wait one more word difference lol
2018-07-18 11:37:36 +02:00
Lewdcario
524a15df0b
backport: Permissions improvements 2018-07-17 21:49:21 -05:00
Lewdcario
0702a0fcda
backport: DefaultMessageNotifications 2018-07-17 21:32:24 -05:00
SpaceEEC
1d9edec567
fix(Message): keep reply option when replying with an embed or attachment
Fixes #2651
2018-07-08 21:40:12 +02:00
Amish Shah
d81441f627
voice: null-check UDP socket 2018-07-03 14:15:27 +01:00
Amish Shah
695ff1e70f
voice: fix #2635 (channel bitrate not being set) 2018-07-02 19:45:35 +01:00
Lewdcario
a667e44c4d
fix(Client): login catch 2018-07-01 10:05:56 -05:00
Lewdcario
3d82ca901b
docs: improvements in various places
* Client#login example consistency

* add warning to Client#fetchApplication

* incorrect WEBHOOK_DELETE value
2018-06-29 19:38:20 -05:00
Lewdcario
448f38429d
fix(Client): login not properly rejecting on invalid token 2018-06-29 19:38:06 -05:00