Commit Graph

3664 Commits

Author SHA1 Message Date
Amish Shah 627a8870f5 change error emission logic 2016-12-29 14:14:27 +00:00
Amish Shah e1d01ed6a2 Merge branch 'indev' into indev-prism 2016-12-29 14:04:05 +00:00
Amish Shah 6d7293e3c5 Fix sending an array of messages 2016-12-29 14:00:54 +00:00
Schuyler Cebulskie 95790dcf08 Update User#equals doc 2016-12-29 03:21:22 -05:00
Schuyler Cebulskie 1b76333b8b Add missing @typedef line 2016-12-29 03:04:11 -05:00
Schuyler Cebulskie fe7ed523b3 Improve ClientUser presence method docs 2016-12-29 03:01:34 -05:00
Gus Caplan ed8fcf651a Centralise message sending logic in one method, remove sendTTSMessage, add client shortcut in RESTMethods (#1031)
* start wip rewrite of sending/editing messages

* pass the build, modify the edit method to fit the new system

* simplify the applyToClass method

* change handling of file options

* add back message splitting

* i couldn't help myself

* add some smart message options

* clean up, add sexy options

* fix indentation

* fix up splitting

* add \b

* add back old methods for hydar happiness

* clean up more

* move code handling to the rest method

* clean up this.rest.client

* Update TextBasedChannel.js

* add docs back for the bad methods

* fix reply in group dms

* srsly gawdl3y

* make code better

* fix changes for gawdl3y

* fix checking

* remove getter

* make code handling more robust

* k

* fix up sendEmbed docs

* stupid

* fix up more docs because aaaaa

* no more pls
2016-12-28 23:58:30 -05:00
Schuyler Cebulskie a014b59790 Update webpack 2016-12-28 21:35:19 -05:00
Schuyler Cebulskie 17a61731ef Update typings (test) 2016-12-28 20:40:07 -05:00
Zack Campbell dfa6740b89 Update gitmodules (#1036)
To reflect transfer of ownership of the typings repo, in case the source forwarding does not continue indefinitely going forward
2016-12-28 19:52:15 -05:00
Amish Shah 7ede44bc00 Add CloseEvent external 2016-12-29 00:27:40 +00:00
Amish Shah 18e04d69f1 Delete stream setups after they have ended or errored 2016-12-29 00:16:13 +00:00
Amish Shah e64d9c6057 fix odd bug 2016-12-28 23:58:01 +00:00
bdistin ea798eaaf3 Update Missing Permission Resolvables (#1035) 2016-12-28 18:27:02 -05:00
Amish Shah e7824d6515 Fix weird audio playback bug between subsequent streams on an AudioPlayer 2016-12-28 23:21:34 +00:00
Schuyler Cebulskie c1b9437f0d Set up typings submodule 2016-12-28 18:20:38 -05:00
Zack Campbell e4bae99747 Update GuildResolvable typedef (#1034)
To reflect the resolver supporting Guild ID strings
2016-12-28 16:50:32 -05:00
Amish Shah 00254f35b0 Make voice return streamdispatcher 2016-12-28 21:40:11 +00:00
Schuyler Cebulskie bbeef44e66 Update ClientDataResolver.js 2016-12-28 16:32:14 -05:00
Schuyler Cebulskie 8e47058286 Update ClientDataResolver.js 2016-12-28 16:30:15 -05:00
Schuyler Cebulskie 289447e4c9 Update Client.js 2016-12-28 16:28:36 -05:00
Amish Shah 4294d267e7 Add playFile back to voice connection 2016-12-28 19:23:11 +00:00
Gus Caplan 3451367591 fix the everyone role mentioning (#1032) 2016-12-28 19:04:54 +00:00
Amish Shah 0a47d0e1d6 Remove old stuff 2016-12-28 18:16:26 +00:00
Amish Shah 8e75b47a7b add back seek option 2016-12-28 17:37:56 +00:00
Amish Shah 8cf520d5af update streamDispatcher 2016-12-28 17:28:14 +00:00
Amish Shah be32bbc3a4 really really really messy implementation of prism 2016-12-28 17:04:18 +00:00
Gus Caplan 8d966932a9 funny (#1030) 2016-12-28 01:42:42 -05:00
bdistin 4d2153c7c6 Document ShardingManager#message (#1024)
* Document ShardingManager#message

* Update Shard.js
2016-12-27 22:44:17 -05:00
Zack Campbell 265021bfa5 Add sendEmbed to GuildMember for docs (#1028)
* Add sendEmbed to GuildMember for docs

* Update GuildMember.js
2016-12-27 22:35:11 -05:00
Schuyler Cebulskie 84991c767e Improve some Gus shenanigans 2016-12-27 22:30:51 -05:00
meew0 14ba0373eb Fix a small spelling mistake in a debug log 2016-12-27 23:16:30 +01:00
Gus Caplan 779681e88f "knock knock. who's there? ack lol. GET OFF MY PORCH!" (#1023) 2016-12-27 17:31:23 +00:00
Gus Caplan bac4ccead7 "knock, knock. who's there. discord, lol" (#1021) 2016-12-27 12:13:57 +00:00
Gus Caplan b79533e373 correctly handle invalid session (#1020)
* correctly handle invalid session

* give discord some time, use it wisely
2016-12-27 00:04:09 +00:00
Amish Shah b0c2f818a8 Remove cached events 2016-12-26 21:56:04 +00:00
Amish Shah f510dc5a10 Merge branch 'indev' of https://github.com/hydrabolt/discord.js into indev 2016-12-26 21:30:30 +00:00
Amish Shah bf7767fe2c Rename emoji events 2016-12-26 21:30:27 +00:00
Schuyler Cebulskie 758c801dd5 Change to function declaration 2016-12-26 15:40:34 -05:00
Alexander b1473b1e4c Change RichEmbed to take StringResolvables (#1010)
Changed RichEmbed to take StringResolvables for all title, name, value and
description arguments.

Also changed a few lines in setColor to make sure that the value
assigned to this.color is always a number.
2016-12-26 15:39:07 -05:00
Amish Shah 72c667b307 Fix potential ReferenceError with GuildMembersChunk 2016-12-26 20:20:58 +00:00
Amish Shah cd657be8be Add functionality for GuildEmoji events 2016-12-26 19:21:00 +00:00
Gus Caplan 2410fdf8d2 fix heartbeats once and for all (#1016) 2016-12-25 16:28:36 +00:00
Schuyler Cebulskie fb6a8d1637 Update webpack and clean up deps 2016-12-24 20:25:29 -05:00
Schuyler Cebulskie 218920e4f1 Fix logo on GitHub 2016-12-24 20:02:36 -05:00
Schuyler Cebulskie 74c3bae506 Teensy weensy cleanup 2016-12-24 19:54:37 -05:00
Schuyler Cebulskie ab30715028 Fix Hydar's lint errors 2016-12-24 19:49:24 -05:00
Amish Shah 544e456302 Add ClientOptions.restTimeOffset for better performance for bots with a good network connection 2016-12-24 12:13:42 +00:00
Gus Caplan 3eca3ba95e add handler in case heartbeat is not acked (#1013)
* add handler in case heartbeat is not acked

* ffs
2016-12-24 11:04:27 +00:00
Gus Caplan 7c12fdcb56 add payload_json instead of the current iterator (#1015) 2016-12-24 02:04:18 -05:00