Schuyler Cebulskie
da5183a5d5
Expose splitMessage
2016-10-08 00:12:03 -04:00
Gus Caplan
1c4ed4547f
adds new WebhookClient and allows you to fetch channel webhooks and such without being "over the top" ( #768 )
...
* start blocking out client
* proto webhookclient
* wee working webhooks
* it's all working
* run docs
* fix jsdoc issues
* add example for webhookClient
* add example in the examples place
* fix docs
2016-10-07 19:09:41 +01:00
Schuyler Cebulskie
f9b7f9c27e
Add readonly
2016-10-06 21:49:08 -04:00
Schuyler Cebulskie
79b0d3f2a5
Client.readyTime -> readyAt (consistency)
2016-10-06 21:48:25 -04:00
Schuyler Cebulskie
93425c3979
Expand collection array caching
2016-10-04 19:10:29 -04:00
Schuyler Cebulskie
2c3c91fe41
Merge branch 'master' into indev
2016-10-04 19:02:09 -04:00
Slamakans
53f5c2cb52
Cache array and keyArray in Collection ( #771 )
...
* Cache array and keyArray in Collection
Cache array and keyArray in the Collection class to improve consecutive
calls of collection.random() by around 400,000%, I think lel.
The speed decrease (I assume) compared to the previous version when
calling after it has changed is most likely negligible.
* Fix for ESLint
I think this fixes it.
2016-10-04 18:53:26 -04:00
Schuyler Cebulskie
8d777db1d1
Clean up status type error
2016-10-03 20:27:41 -04:00
Schuyler Cebulskie
e24c9c271e
Quite possibly fix annoying bug Evie was complaining about
2016-10-03 20:25:39 -04:00
Programmix
c4e1e4f50f
Add InviteResolvable ( #766 )
...
* Add InviteResolvable
Add InviteResolvable
* Return data as fallback instead
* Rename resolver method
2016-10-02 19:21:08 -04:00
Schuyler Cebulskie
77e37b62ef
Fix sendMessage with no content and split/disableEveryone
2016-10-02 11:14:32 -04:00
Schuyler Cebulskie
51f30d6e4c
Add nickname mention format to GuildMember.toString
2016-10-02 01:51:14 -04:00
Programmix
d35372d3e9
Fix MessageCollector.next edge case ( #765 )
2016-10-02 00:23:35 -04:00
Programmix
1fcc618532
Fix removeListener call ( #762 )
2016-10-01 16:22:32 -04:00
Programmix
34168eb832
Create MessageCollector.next ( #761 )
...
Allows using await with message collectors (ES7)
Hydrabolt approved™
2016-10-01 20:29:15 +01:00
Amish Shah
530035e14b
Fix stacked heartbeats on reconnect and fix documentation
2016-10-01 20:21:38 +01:00
Amish Shah
7c26603773
Fix presences probably ¯\_(ツ)_/¯
2016-10-01 15:27:56 +01:00
Amish Shah
ab15c45d96
fixed role stuff
2016-10-01 11:21:35 +01:00
Schuyler Cebulskie
9063aa8abf
Merge master
2016-10-01 03:44:43 -04:00
Schuyler Cebulskie
2acfb16cb8
Fix Guild.emojis doc
2016-10-01 03:41:49 -04:00
Schuyler Cebulskie
66beeb9535
Add role position comparison methods
2016-10-01 03:32:08 -04:00
Schuyler Cebulskie
93cf34a814
I found some more.
2016-10-01 02:58:32 -04:00
Schuyler Cebulskie
d1e07674b8
Make GuildMember.kickable/bannable take role IDs into account
2016-10-01 02:54:25 -04:00
Schuyler Cebulskie
db815d4d9f
I'm gonna need more derps to fix.
2016-10-01 02:47:17 -04:00
Schuyler Cebulskie
d246982a61
Fix another derp wooo
2016-10-01 01:42:13 -04:00
Schuyler Cebulskie
a441aaf546
Fix derp in GuildMember.kickable/bannable
2016-10-01 01:27:11 -04:00
Schuyler Cebulskie
8945344a3b
Improve role position updating (allows for <=0)
2016-09-30 22:51:37 -04:00
Schuyler Cebulskie
c2c477834f
Add Role.setMentionable
2016-09-30 22:48:25 -04:00
bdistin
428ee2f718
Added .missingPermissions() ( #756 )
...
* Added .missingPermissions()
* Added .missingPermissions()
* Fixed docs for .missingPermissions()
* Fixed Travis CI trailing spaces?
* Fixed Travis CI trailing spaces?
2016-09-30 22:08:19 +01:00
Schuyler Cebulskie
b1322cbc69
Initialise and document StreamDispatcher.paused
2016-09-30 03:12:01 -04:00
Schuyler Cebulskie
f157bcf5e8
Rearrange StreamDispatcher code
2016-09-30 03:09:08 -04:00
Schuyler Cebulskie
4934874613
Inline a line
2016-09-30 03:05:37 -04:00
Schuyler Cebulskie
b396d15b37
Remove usage of path.join for version export
2016-09-30 02:58:18 -04:00
Schuyler Cebulskie
5997aecc22
Rearrange events some more
2016-09-30 02:53:57 -04:00
Schuyler Cebulskie
1473f8c462
Rearrange event constants
2016-09-30 02:50:20 -04:00
Schuyler Cebulskie
543e814f8e
Move protocol version to a constant, and reorganise constants a bit
2016-09-30 02:45:16 -04:00
Amish Shah
cda31dd224
Fix a potential bug some people have in retrieving endpoints
2016-09-28 18:03:30 +01:00
Schuyler Cebulskie
155b4383d2
No, Hydra! Bad!
2016-09-27 22:13:04 -04:00
Schuyler Cebulskie
f0741f2288
Add ShardClientUtil export
2016-09-27 21:18:22 -04:00
Schuyler Cebulskie
0bcca7bb55
Add Collection.concat
2016-09-27 20:47:12 -04:00
Gus Caplan
aed75e1f9a
Add full guild emoji functionality ( #749 )
...
* all the emoji stuff
* fix things for hydra 😘
* feck i need to stop committing on github
* update docs again
* Butts
2016-09-27 20:44:09 -04:00
Schuyler Cebulskie
682e33cad9
Whoopsies
2016-09-27 20:21:52 -04:00
Schuyler Cebulskie
b8e659d544
Make Client.emojis suck less
2016-09-27 20:11:22 -04:00
Schuyler Cebulskie
973dbe8266
Add more @readonly and clean up some stuff
2016-09-27 20:07:33 -04:00
Schuyler Cebulskie
1a3f5ca6a9
Add Invite.expiresAt/expiresTimestamp
2016-09-27 19:50:03 -04:00
Schuyler Cebulskie
1e57c968dd
Made date/timestamps consistent and less shitty
2016-09-27 19:46:53 -04:00
Schuyler Cebulskie
b6c26cc2ae
Replace console.log in catches with console.error
2016-09-27 18:50:01 -04:00
Schuyler Cebulskie
8d18ed42f6
Update tests
2016-09-27 18:48:54 -04:00
Schuyler Cebulskie
ba8dd3467a
Switch config back to camelCase
2016-09-27 18:42:32 -04:00
Schuyler Cebulskie
4fceae02d6
Fix ShardClientUtil.fetchClientValues example
2016-09-27 17:25:17 -04:00