Commit graph

757 commits

Author SHA1 Message Date
Lewdcario
7126cade45
fix: richEmbed#_apiTransform fields 2018-08-09 13:52:50 -05: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
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
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
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
886c21223e
fix(GuildAuditLogs): default to PartialGuildChannel if channel deleted (#2605) 2018-07-18 11:38:59 +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
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
3fa9ed1f42
backport: deleted property 2018-06-29 19:11:50 -05:00
Lewdcario
72346fb47e
fix(TextBasedChannel): bulkDelete should not return non-Promise 2018-06-29 17:32:56 -05:00
SpaceEEC
8a3ae875bb
fix: do not cache webhook users (#2611)
Goal in mind is to not save the name and avatar used by webhooks because
those can change between messages without any other update.
2018-06-21 21:34:30 +02:00
SpaceEEC
bd3d8d48c0
docs(GuildMember): joinedAt is nullable
See: ecf6e2b62d
2018-06-21 21:24:53 +02:00
reeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
507cce3ff4 docs: document lastMessageID for TextChannel and (Group)DMChannel (#2602)
* Adds JSDocs for TextChannel.lastMessageID

* oops

* docs: document lastMessageID in (Group)DMChannel as well
2018-06-16 22:10:24 +02:00
Lewdcario
6de5acbac3
backport: RichPresence 2018-06-09 15:37:01 -05:00
Lewdcario
ecf6e2b62d
fix(GuildMember): mark joined as nullable 2018-06-09 15:15:08 -05:00
Lewdcario
caa4104b95
docs: GuildMember#speaking
closes #2540
also improves consistency
2018-06-05 00:31:06 -05:00
Lewdcario
f238883046
fix(MessageReaction): fetchUsers inconsistency
Unlike TextChannel#fetchMessages, this method returned the cache rather than the fetched items, so in interests of consistency, this does as well now
closes #2574
2018-06-05 00:31:03 -05:00
Lewdcario
c699888780
docs: add examples & improve notices 2018-06-05 00:30:50 -05:00
Lewdcario
0387d34ab4
fix(VoiceChannel): deletable erroneously returning true 2018-06-04 17:18:27 -05:00
Adrien Brignon
13880fe7de docs(Guild): handle error in example of fetchInvites correctly (#2568) 2018-05-27 20:59:12 +02:00
SpaceEEC
f23b61794c
fix(ClientUser): correctly resolve nicks to an object in createGroupDM 2018-05-25 17:23:09 +02:00
Lewdcario
b2d1cb6a3d
docs: permissions 2018-05-12 00:51:08 -05:00
SpaceEEC
9bb8831619
feat(GuildMember): add manageable getter 2018-05-09 16:38:28 +02:00
SpaceEEC
99041671f0
feat(GuildChannel): add fetchInvites method
Backported from commit: 47bc0fc51e
PR: #2339
2018-05-09 16:28:40 +02:00
SpaceEEC
dd7eedbd48
feat(Emoji): add fetchAuthor method
Backported from commit: e0cbf0bb60
PR: #2315
2018-05-09 16:20:41 +02:00
SpaceEEC
c0ca73a40c
feat(Game): add toString method
Backported from commit: 016526486c
PR: #2313
2018-05-09 16:08:59 +02:00
SpaceEEC
54913d9edb
feat(GuildChannel): add setNSFW method
Backported from commit: 0fc9459450
PR: #2050
2018-05-09 16:04:49 +02:00
Gus Caplan
9169958264
feat(Guild): add verified getter (#2027) 2018-05-09 15:52:00 +02:00
Jonah Snider
e5e59cce32
docs(Role): Change 'the this' to this (typo) (#2377)
Commit: 8b679913a4
2018-05-08 22:27:58 +02:00
SpaceEEC
9264511092
docs(ClientUser): correct warning for createGuild method
Backported from: 2bf68dcdfb
PR: #2453
2018-05-08 22:06:07 +02:00
SpaceEEC
54fa5f644f
docs(GroupDMChannel): fix top 'an user' -> 'a user' 2018-05-08 20:14:23 +02:00
SpaceEEC
60288d0704
fix(Collector): increase and decrease max listeners dynamically 2018-05-08 11:57:12 +02:00
SpaceEEC
ed8ab91782
feat(Emoji): add deletable getter
Backport for commit: fca6d3be56
From PR: #2535
2018-05-08 11:35:14 +02:00
SpaceEEC
a85d801a12
fix(ClientUser): setActivity should resolve with a Presence 2018-05-01 20:27:05 +02:00
SpaceEEC
44fefdfa49
fix(Util): reject with a meaningful error instead of throwing one 2018-04-27 20:16:46 +02:00
Isabella
49ad8cc2cc feat(GuildChannel): add manageable getter (#2439)
* Adds GuildChannel.manageable

* Resolve requested changes

* fix eslint max-len error

* Fix for nullable permissionsFor()

* Indent fixes
2018-04-26 01:31:52 -05:00
bdistin
7b9e84dff5 feat(Guild): add mfaLevel property (#2451) 2018-04-26 01:28:59 -05:00
Lewdcario
384e96d51e
backport: docs improvements 2018-04-26 01:25:44 -05:00