SpaceEEC
a685d24504
using correct properties for invites ( #1467 )
2017-05-05 23:19:07 +02:00
SpaceEEC
128b4ee3e8
update GuildAuditLogs for MESSAGE_DELETE and fixed extras ( #1464 )
...
* update GuildAuditLogs for MESSAGE_DELETE and fixed extras
* correct oder of targets
2017-05-05 19:44:54 +02:00
Gus Caplan
caf96339e0
Update GuildAuditLogs.js ( #1456 )
2017-05-04 00:50:08 +02:00
SpaceEEC
07623d49e2
Fix for sending files with Webhook class ( #1449 )
2017-05-02 06:58:42 +01:00
Amish Shah
a7c902c6cf
New is also optional
2017-05-01 22:11:04 +01:00
Amish Shah
b7a81ed7e1
watch me, gus
2017-05-01 22:07:20 +01:00
Amish Shah
7da53af0c3
Improve GuildAuditLogs documentation by creating an AuditLogChange typedef
2017-05-01 21:08:15 +01:00
Gus Caplan
35ef9cd33d
Add Guild#nameAcronym and make avatar/iconURLs into functions ( #1144 )
...
* Guild#iconURL(format, size);
* OAuth2Application#iconURL(format, size);
* User#iconURL(format, size);
2017-05-01 20:37:00 +01:00
Gus Caplan
3bab4ec9fd
Add time methods to Audit Log entries ( #1443 )
...
* aaaaa
* Update GuildAuditLogs.js
2017-05-01 18:05:15 +01:00
Amish Shah
2ace21c412
backwards compat docs
2017-05-01 15:10:11 +01:00
Amish Shah
140839128a
Fix ban delete days
2017-05-01 15:07:02 +01:00
Amish Shah
0f4983852e
Fix ban message delete days
2017-05-01 14:57:27 +01:00
Amish Shah
db45d99d0c
More deprecated stuff
2017-05-01 11:28:48 +01:00
Isabella
a02e10926d
Stop using deprecated methods within discord.js ( #1441 )
...
* fix deprecation stuff
* fixed a check
2017-05-01 10:14:26 +01:00
Crawl
c3be798663
Update GuildAuditLogs.js
2017-05-01 01:03:12 +02:00
Gus Caplan
7779069e32
add audit logs "extras" ( #1435 )
...
* add audit logs "extras"
* whoops
* Update GuildAuditLogs.js
2017-04-30 23:57:42 +01:00
Gus Caplan
1ddae43fed
Add class doc blocks to Audit Logs ( #1438 )
2017-04-30 23:57:06 +01:00
Gus Caplan
37b1f38ebe
Make audit log entries a collection ( #1436 )
2017-04-30 21:25:22 +01:00
Amish Shah
c2566d230c
Wait undo that
2017-04-30 21:04:39 +01:00
Amish Shah
474a954938
Force deaf/mute properties to be booleans even when null data is received
2017-04-30 21:04:11 +01:00
Amish Shah
8e5c600227
Make OAuth2Application backwards compatible again
2017-04-30 11:21:48 +01:00
aemino
5cad25ea69
Add Guild#me ( #1384 )
...
* Add Guild#me
(also did minor docs cleanup)
* Don't use Guild#member as there's nothing to resolve
* Update ClientDataResolver.js
* Update Guild.js
* Update Guild.js
* Update Guild.js
2017-04-30 04:30:59 -04:00
Pg Biel
9a5de25d79
Emoji convenience methods ( #1378 )
...
* make branch
* stuff
* Consistency & remove role(s)
* kill me
* Doc changes
Requested by Crawl
* forgot 1
2017-04-30 04:51:15 +02:00
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
Schuyler Cebulskie
3f8c0a4d11
Move things
2017-04-29 20:56:40 -04:00
Schuyler Cebulskie
e2c8ba5be0
Allow MessageMentions#channels to function in DMs
2017-04-29 20:18:23 -04:00
Schuyler Cebulskie
aa35e21b84
Revert "Make MessageMentions#channels return an empty collection in DMs ( #1430 )"
...
This reverts commit 88aa947376 .
2017-04-29 20:00:36 -04:00
Gus Caplan
6f96cf7325
Use Target variables for consistency ( #1431 )
2017-04-30 00:36:26 +01:00
Amish Shah
1a69331f0c
Merge branch 'master' of https://github.com/hydrabolt/discord.js
2017-04-29 21:09:56 +01:00
Amish Shah
c40252381b
Deprecate all the things
2017-04-29 21:09:53 +01:00
Gus Caplan
4127cf6e40
Experimental support for Audit Logs ( #1403 )
...
* start audit logs
* make better var types so gawdl3y doesn't shit on this
* add constructor stuff
* make more changes
* add entry creation
* add methods
* make it all work hopefully
* aaa
* aaaa
* i wish i could test this locally
* fix users, guild when i feel like it
* make guild prop non-enumerable
* make better types
* change nouns
* e
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* eek
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* friggin trailing spaces
* Update GuildAuditLogs.js
* docs!
* Update GuildAuditLogs.js
* reason stuff
* Update GuildAuditLogs.js
* Update GuildAuditLogs.js
* support before/after for pagination
* Update Guild.js
* Update GuildAuditLogs.js
* mfw using github web editor
* fix build
* Update Guild.js
* amazing cache fuckery shit evil
* cool stuff
* make building audit logs nicer
* ban endpoint stuff
* dox
* <.<
2017-04-29 20:34:57 +01:00
SpaceEEC
88aa947376
Make MessageMentions#channels return an empty collection in DMs ( #1430 )
...
* Make MessageMentions#channels return an empty collection in DMs
* reduce code duplication and corrected docstring
2017-04-29 14:33:18 +01:00
stupid cat
d6b7d31047
Better ClientUser#setStatus for self bots ( #1428 )
...
* better setstatus for selfbots
* make both calls
* must return
* use setpresence, set invisible
2017-04-29 14:31:32 +01:00
SpaceEEC
956372731f
Using ws.connection.status rather than undefined ws.status ( #1429 )
2017-04-28 21:27:30 +02:00
Will Nelson
35c4c552f4
[wip] Fix collector documentation (again) ( #1416 )
...
* remove private on abstract methods, fix timeout type
* make client readonly, add documentation to abstract methods
* document implemented collector methods
2017-04-28 19:45:46 +02:00
Drahcirius
89745fe132
emojis should use cdn endpoint ( #1425 )
2017-04-28 18:47:18 +02:00
SpaceEEC
95bcac9d9b
Throwing 'Message not found' error when fetching from empty channel or without read history permission. ( #1394 )
2017-04-28 17:02:52 +02:00
Gus Caplan
1601ad14e3
i hate my life ( #1420 )
2017-04-27 00:21:03 +02:00
Gus Caplan
5ac22691d2
Add TextBasedChannel#nsfw (excluding User and GuildMember) ( #1419 )
2017-04-26 23:01:27 +01:00
SpaceEEC
909b825c94
Fixed acknowledging of channels ( #1411 )
...
* Fixed acknowledging of channels
* using channel#lastMessageID and resolve when it's not present
2017-04-25 23:29:08 +02:00
Crawl
53eda09f72
Improve docs
2017-04-24 16:29:29 +02:00
SpaceEEC
401822a094
Made search argument optional, added useronly warning and fixed endpoint ( #1407 )
2017-04-24 14:31:39 +02:00
Gus Caplan
59e733cef6
deprecate aliases ( #1397 )
...
* hype
* add doc dep tags
* fix that
* hopefully fix docs
* Update TextBasedChannel.js
2017-04-24 08:05:24 +02:00
Crawl
96041dbd3a
Fix doc string
2017-04-23 08:51:07 +02:00
Crawl
c095610bb4
Change docstring
2017-04-23 06:50:43 +02:00
SpaceEEC
5b3e971c5c
Message.editedTimestamp should be a number ( #1402 )
2017-04-22 16:54:48 +02:00
Will Nelson
794c0e131d
how2docs ( #1400 )
2017-04-22 01:56:23 +02:00
Amish Shah
5605dc04e1
Fix #1399 (Trying to unset games with values other than null doesn't end up displaying properly for mobile clients)
2017-04-21 11:42:19 +01:00
Will Nelson
94e2a85386
Docs fixes ( #1398 )
...
* fix collector docs
* fix message collector param type
2017-04-21 09:44:59 +02:00
Isabella
a652901d60
Throw Error for non role-resolvables ( #1322 )
...
* throw error for role names/integers being provided for role resolvables
* Update RESTMethods.js
* Update RESTMethods.js
im really bad
* Update RESTMethods.js
* removed new promise reject
ty gus
* Update RESTMethods.js
* move error to guildmember.addRole method
* Update GuildMember.js
2017-04-19 18:57:54 +02:00