Schuyler Cebulskie
2a50dad852
Update docs for ezmode node-opus Windows building
2016-11-01 01:39:57 -04:00
Schuyler Cebulskie
3f5e7451a7
Fix linked whitespace 👀
2016-10-27 19:15:08 -04:00
Gus Caplan
2fa1e12fd5
Update welcome.md ( #847 )
2016-10-27 14:50:47 +01:00
Schuyler Cebulskie
b8c11f0bed
Update docs URLs to new domain
2016-10-27 04:27:28 -04:00
Schuyler Cebulskie
b54adf3869
Remove docs.jsos (whoops)
2016-10-26 23:45:20 -04:00
Schuyler Cebulskie
0863be8520
Tweak another output
2016-10-26 23:42:35 -04:00
Schuyler Cebulskie
93cc1fcb24
Tweak single output
2016-10-26 23:42:03 -04:00
Schuyler Cebulskie
4b60a6f47d
Remove unused file
2016-10-26 23:33:29 -04:00
Schuyler Cebulskie
b8946d5904
Give the docgen a facelift
2016-10-26 23:30:37 -04:00
Schuyler Cebulskie
4d1eb34dd6
Remove extra <br />
2016-10-26 21:12:41 -04:00
Schuyler Cebulskie
99cea11e6d
Change a word
2016-10-26 21:04:41 -04:00
Schuyler Cebulskie
e8eac4990e
Add more general info about discord.js
2016-10-26 21:03:44 -04:00
Schuyler Cebulskie
c4ee802c3b
Fix formatting for GitHub
2016-10-26 20:51:34 -04:00
Schuyler Cebulskie
6dfb904e6b
Center the shields and NPM banner
2016-10-26 20:45:48 -04:00
Schuyler Cebulskie
801588b2d4
Add v10 details to docs
2016-10-26 20:39:11 -04:00
Amish Shah
d231adc489
add notice to docs folder
2016-10-26 16:14:37 +01:00
Amish Shah
597c3ebcbe
Remove unnecessary docs.json file
2016-10-26 16:09:17 +01:00
meew0
e85fd4482f
Fix the secret Travis details
...
Apparently the environment variables weren't correctly stored last
time, so they had to be regenerated.
2016-10-26 17:02:01 +02:00
Gus Caplan
60a911e4a0
add clientUser#createGuild ( #832 )
...
* add clientUser#createGuild merge docs
* almost caused a memory leak!
* muh triggers
2016-10-26 15:59:15 +01:00
Amish Shah
cf45d1905e
Reduce doc log size
2016-10-26 15:57:45 +01:00
meew0
0296a71793
Improve the docs building process ( #834 )
...
* Add a script to automatically build and push docs
This script will checkout the repo in the `docs` branch, then build the
docs locally, copy it to that repo, commit and push. It is designed to
be used in conjunction with Travis.
* Add unencrypted deploy keys to the gitignore
* Make Travis automatically execute the deploy script
* Add the encrypted deploy key
* Update the .travis.yml with the necessary information
2016-10-26 15:54:53 +01:00
Amish Shah
5bd18e6051
add some documentation
2016-10-25 19:47:17 +01:00
Amish Shah
5844bbb54c
Fix travis builds
2016-10-25 14:38:56 +01:00
Gus Caplan
44bae385c2
update clientUser#setAvatar ( #819 )
...
* WHO DID THIS
* e
* some people have base64 fetishes i guess
Signed-off-by: Gus Caplan <fluffyrobotcheese@gmail.com>
2016-10-24 01:09:38 -04:00
Schuyler Cebulskie
c9c6e8a357
Added note about bot accounts to fetchMessage
2016-10-23 14:59:04 -04:00
Gus Caplan
3e1425af04
allow TextBasedChannel#bulkDelete to take a number ( #821 )
...
* useful
* update docs
* Update TextBasedChannel.js
* update docs
* fix docs
* Update TextBasedChannel.js
2016-10-23 14:51:54 -04:00
Gus Caplan
b020fae258
fix emoji updates ( #826 )
2016-10-22 23:43:07 -04:00
Gus Caplan
422b90c711
add way more friend shit ( #815 )
2016-10-22 16:25:55 -04:00
Schuyler Cebulskie
aa4cb97a1c
Removed production flag from installs
2016-10-22 14:48:07 -04:00
Gus Caplan
9c8eb2dfc3
lets all be friendly! ( #809 )
...
* lets all be friendly!
* fix doc
* Update ClientUser.js
* Update ClientUser.js
2016-10-18 01:36:25 -04:00
Gus Caplan
bd5540314b
add message@#type
2016-10-17 21:24:16 -05:00
Gus Caplan
e04dbbdb82
add clientuser#friends ( #807 )
...
* add client#friends
* Update Ready.js
* Update Client.js
* move friends to client.user
* Update ClientUser.js
* Update ClientUser.js
2016-10-16 21:28:17 -04:00
Schuyler Cebulskie
fc307fab8a
Remove unnecessary array conversions
2016-10-16 21:14:59 -04:00
Schuyler Cebulskie
fe2192d544
Thanks for overriding the MessageOptions typedef, Gus 😒
2016-10-15 00:12:37 -04:00
Gus Caplan
50a1d1cbef
Add VoiceChannel.joinable/speakable ( #802 )
...
* add some getters to voice channels
* Update VoiceChannel.js
* Update VoiceChannel.js
* Update VoiceChannel.js
2016-10-14 18:58:48 -04:00
Schuyler Cebulskie
6e76df2656
Update legacy docs link
2016-10-14 01:45:02 -04:00
Schuyler Cebulskie
a6ca05b379
Change a word in help
2016-10-14 01:27:54 -04:00
Schuyler Cebulskie
84bca168b6
Update docs
2016-10-14 01:26:54 -04:00
Schuyler Cebulskie
ca4e9549a0
Add link to Yeoman generator
2016-10-14 01:13:50 -04:00
Schuyler Cebulskie
1ef00d0fe7
Change node-opus and opusscript to peer deps
2016-10-14 00:52:25 -04:00
Schuyler Cebulskie
485ffd267e
Remove auto shard spawn interval (Discord doesn't support such a great idea 👀 )
2016-10-14 00:21:08 -04:00
Schuyler Cebulskie
915a4cbe37
Rename spawnArgs -> shardArgs
2016-10-14 00:00:15 -04:00
Schuyler Cebulskie
3293f9a8de
Add automatic shard spawning, and document options
2016-10-13 23:58:32 -04:00
Schuyler Cebulskie
aad06c1116
Teensy cleanup
2016-10-13 23:32:52 -04:00
Gus Caplan
853a3dfa04
Add getRecommendedShards and automatic shard count in ShardingManager ( #796 )
...
* draft stuff
fix docstring for Client#token
Reorganise resolver
make env better for shards, clean up docs
Fix Gus' log messages
7
meh just gateway/bot not v7 :(
final changes, ready for mergin!
build docs
make default totalShards 'auto', fix docs for totalShards type
clean up docs more
run docs
* make consistancy real
* Update and rename getRecommendedShards.js to GetRecommendedShards.js
* Update GetRecommendedShards.js
* Update index.js
* Update RESTMethods.js
* Update Shard.js
* Update GetRecommendedShards.js
* Update ShardingManager.js
* run docs
2016-10-13 23:26:10 -04:00
Gus Caplan
299484ff68
allow overwritePermissions to take a role id ( #792 )
...
* allow overwritePermissions to take a role id
* Fix typo
2016-10-11 20:29:29 -04:00
Gus Caplan
0de3d1bfc4
make sharding manager constructor better ( #794 )
...
* add color stuff to support popular color libraries
* make this better
* fix docs
2016-10-11 20:20:59 -04:00
Gus Caplan
e48d7d52f1
add webhook#sendSlackMessage ( #788 )
2016-10-10 01:56:18 -04:00
Schuyler Cebulskie
29b33bffaa
Rearrange and clean up more webhook stuff
2016-10-09 15:50:50 -04:00
Schuyler Cebulskie
e7745a0af5
Clean up some webhook stuff
2016-10-09 15:30:46 -04:00
Schuyler Cebulskie
bd7ff36b66
Allow infinite messageCacheMaxSize
2016-10-09 15:22:14 -04:00
Schuyler Cebulskie
7a53f70978
Rename maxMessageCache -> messageCacheMaxSize
2016-10-09 15:16:54 -04:00
Schuyler Cebulskie
a717b60417
Add validation for all non-ws client options
2016-10-09 15:11:15 -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
Amish Shah
530035e14b
Fix stacked heartbeats on reconnect and fix documentation
2016-10-01 20:21:38 +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
c2c477834f
Add Role.setMentionable
2016-09-30 22:48:25 -04:00
Schuyler Cebulskie
b1322cbc69
Initialise and document StreamDispatcher.paused
2016-09-30 03:12:01 -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
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
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
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
Amish Shah
045153584a
redo the client user presence stuff
2016-09-27 17:57:47 +01:00
Schuyler Cebulskie
9d3b7b49dd
Cleanup and reorganise some shard stuff
2016-09-27 02:25:38 -04:00
Schuyler Cebulskie
e5a987e0ef
Add client shard eval/client property fetching, and improve existing shard stuff
2016-09-27 02:19:53 -04:00
Schuyler Cebulskie
4fe30aa4d3
Rip out client sharding logic into its own class
2016-09-26 23:23:56 -04:00
Gus Caplan
c8761d72de
add guild emoji methods ( #742 )
...
* add guild emoji methods
* run docs
* crawl pointed out some things about the docs, so i fixed
* actually run the docs on the changes 🤦
2016-09-26 21:39:07 +01:00
Amish Shah
f1cb39a319
Expose Presence and Game structures
2016-09-25 20:17:35 +01:00
Amish Shah
534d7af8c3
Fix resuming sessions ( fixes #699 )
2016-09-25 15:03:54 +01:00
Amish Shah
761b8cfb8d
fix docs
2016-09-25 14:28:51 +01:00
Amish Shah
0e8f1bef97
Stop comparing for equality on update events and just emit for performance
2016-09-25 11:24:02 +01:00
Amish Shah
124965425a
Version bump to 9.3.0 \o/
2016-09-24 19:54:29 +01:00
Kelvin Wu
a38f34899d
Merge remote-tracking branch 'upstream/indev' into bugfix/docs
2016-09-24 14:10:04 -04:00
Amish Shah
aef0b83c34
comply to the latest rate limit stuff ( hammerandchisel/discord-api-docs#108 )
2016-09-24 18:19:18 +01:00
Kelvin Wu
bd465108a7
Fix return type in docs.
2016-09-24 11:58:51 -04:00
Schuyler Cebulskie
1008f601f4
Add shard client prop fetching, remove guild count fetching, improve eval
2016-09-24 02:12:45 -04:00
Schuyler Cebulskie
e4f416ae6c
Add shard eval, broadcastEval, and fix fetchGuildCount response
2016-09-24 01:21:41 -04:00
Schuyler Cebulskie
5ea62e63ab
Improve sharding some more
2016-09-24 00:44:47 -04:00
Kelvin Wu
fa18b0c6c9
Handle DM messages in cleanContent getter. ( #726 )
...
* Handle DM messages in cleanContent getter. Closes #725 .
* Fix build error, improve handling for user IDs.
* Update docblock to be more specific about behaviour.
* Handle group DMs in cleanContent.
* Regen docs.
2016-09-24 00:23:12 -04:00
Gus Caplan
fc9d049cc1
make shardmanager better ( #731 )
...
* add respawn thing for shards, and make it easier to recieve messages from shards
* run docs
2016-09-23 18:36:14 +01:00
Schuyler Cebulskie
7f652f7df8
Add delay param to ShardingManager.spawn
2016-09-22 22:51:58 -04:00
Schuyler Cebulskie
3fa4ff13e3
Add ShardingManager.fetchGuildCount
2016-09-22 22:48:21 -04:00
Schuyler Cebulskie
9d94fbfbcb
Document and change launch event params
2016-09-22 22:06:56 -04:00
Schuyler Cebulskie
b795ed8109
Overhaul sharding broadcast/send
2016-09-22 22:03:10 -04:00
Schuyler Cebulskie
737ad8e92b
Slightly improve some Collection docs
2016-09-22 21:36:06 -04:00
Gus Caplan
edd174a5eb
Add ShardingManager#send and ShardingManager#broadcast ( #730 )
...
* add ShardingManager#send and ShardingManager#broadcast
* make gawdl3y happy
* Fix a thing
2016-09-22 21:35:08 -04:00
Gus Caplan
e86b93b34f
fix docs because gawdl3y forgot >:( ( #724 )
2016-09-22 02:25:08 -07:00