Commit Graph

33 Commits

Author SHA1 Message Date
abalabahaha
14fffb12af Accept user IDs as channels 2016-03-12 21:11:21 -08:00
abalabahaha
ea80677a79 Attempt to fix startPM 2016-03-11 22:12:15 -08:00
abalabahaha
dd6c158250 Use binary in sendFile (fix #172) 2016-03-06 10:55:32 -08:00
abalabahaha
e4641fe701 resolveChannel should take PM channel IDs 2016-02-17 08:24:11 -08:00
hydrabolt
7144ead048 docs 6.66% 2016-02-13 18:21:59 +00:00
hydrabolt
4e03c0b1a2 docs 5.59% 2016-02-13 15:53:01 +00:00
hydrabolt
bd187540d3 4.3% coverage 2016-02-13 15:11:27 +00:00
SooYou
fd5c981d83 fix resolveServer undefined when TextChannel
So far it has been the case that resolveServer has been returning
undefined in the case that the resource was a Message from a TextChannel.
This was the case because the conditional returned the value of member
"server" in the Message object. The Message object doesn't have a server
member though. The fix is to use the "channel" member of the Message
object and return its "server" member which was likely the original
intention considering the if statement.
2016-02-06 18:18:00 +01:00
meew0
e66311bdf5 Use resolveChannel instead of resolveVoiceChannel for joinVoiceChannel and get rid of resolveVoiceChannel 2016-02-01 21:30:57 +01:00
abalabahaha
89e3396af6 sendFile with non-image files (fix #172) 2016-01-30 12:48:53 -08:00
meew0
c1171e6973 Fix the regex in Resolve.resolveFile, fixes #171 2016-01-30 14:36:31 +01:00
abalabahaha
e3173d1561 In-order + duplicate mentions, cleanContent in Messages 2016-01-29 22:05:01 -08:00
abalabahaha
dad570a4ec sendFile via URL 2016-01-29 21:45:03 -08:00
abalabahaha
8726b23730 Resolve role IDs 2016-01-29 17:14:40 -08:00
Neto Becker
b3d5197013 removed ES6 function calls 2016-01-15 15:11:21 +01:00
abalabahaha
beb91913bb Suppor string game updates and better setStatus logic 2015-12-26 15:10:32 +00:00
Amish Shah
90045db92d fixed mentions even though they will be changed in the future... why 2015-12-19 21:22:06 +00:00
abalabahaha
6ed6932e24 Someone forgot to update some code 2015-12-11 20:00:49 -08:00
Simon Schick
4735c85e1b Cleaned up file control structures, no more else if chains when you can return right away, also more describtive errors 2015-11-28 22:59:35 +01:00
Simon Schick
faa744b1e3 Use import/export since we are using babel, removed unused imports 2015-11-28 17:57:22 +01:00
hydrabolt
65698cf525 Added new functions
setStatusIdle() - aliases setStatusAway
setStatusOnline() - aliases setStatusActive and setStatusHere

setPlayingGame() - uses GameID resolvable
2015-11-21 14:55:15 +00:00
abalabahaha
224cca1e31 updateRole and deleteInvite 2015-11-19 09:40:15 -08:00
hydrabolt
e08c10507d Added setAvatar 2015-11-19 16:52:01 +00:00
hydrabolt
d70f66abfd Fixed resolver rejection for callbacks
potentially could cause some code to crash if using callbacks instead of
promises
2015-11-19 16:34:42 +00:00
hydrabolt
c342ca4116 Added joinServer 2015-11-18 17:13:06 +00:00
hydrabolt
7b73671295 Added the joinServer funciton internally 2015-11-18 16:45:37 +00:00
abalabahaha
3e37c5d91f Removed trailing spaces, added unbanMember and kickMember 2015-11-11 18:36:24 -08:00
hydrabolt
cb5452f072 Added rudimentary voice joining 2015-11-06 21:26:36 +00:00
hydrabolt
1efc2eb505 Added leave server and other stuff 2015-11-01 13:34:59 +00:00
hydrabolt
b8aaa590b4 sendFile and fix deleteMessage 2015-11-01 00:16:58 +00:00
hydrabolt
3c16a9f2a4 Fixed start PM 2015-10-31 23:46:46 +00:00
hydrabolt
28308433da Added message sending 2015-10-31 22:59:53 +00:00
hydrabolt
cc3f9d931a Added resolver 2015-10-31 22:24:05 +00:00