Commit Graph

65 Commits

Author SHA1 Message Date
abalabahaha
d0e38c721d 8.2.0 2016-10-02 13:23:34 +09:00
Jacob
c00d209014 add webhooks v8 (#759)
* add webhook structure and getChannelWebhooks as well as getServerWebhooks

* add sendMessage

* add the ability to edit create and delete hooks

* remove server wide cache and add getter.
2016-10-01 11:53:14 +01:00
abalabahaha
d22ca969db Add more undefined checks 2016-09-27 15:36:15 +09:00
abalabahaha
2b7f88ae3a Unminify files 2016-08-05 08:11:45 +09:00
abalabahaha
da31ae589a 8.1.0 2016-08-02 07:21:33 +09:00
abalabahaha
644061e881 Unminify lib files 2016-06-13 16:00:43 -07:00
abalabahaha
2cd1104d3d 8.0.0 2016-06-09 11:41:04 +09:00
abalabahaha
db7dca65b2 Fix #342, #321 2016-05-11 20:21:37 -07:00
abalabahaha
1f5002ae41 Nickname mention detecting, channel and role mentions in cleanContent 2016-04-30 13:01:06 -07:00
abalabahaha
533d49d7d4 Fix potential permissionsOf crash 2016-04-16 23:51:49 -07:00
abalabahaha
9083893d79 7.0.1 2016-04-16 10:49:48 -07:00
abalabahaha
ecc35eecda Ratelimiter inconsistency fix 2016-04-13 02:06:18 -07:00
abalabahaha
6b189cf3af 7.0.0 2016-04-13 00:47:48 -07:00
abalabahaha
ad66991f36 Use alternatives to .find() because that's not polyfilled 2016-04-03 04:41:57 -07:00
abalabahaha
8614d4b2a5 Less CPU on cache update 2016-03-15 22:04:52 -07:00
abalabahaha
f0dd0cabdf 6.1.0 2016-03-15 22:04:52 -07:00
abalabahaha
13e8a39f9f Minor inconsistencies 2016-03-12 21:21:59 -08:00
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
315ae22a7f potential server_member_update bugfix? 2016-02-13 21:04:47 +00:00
hydrabolt
7144ead048 docs 6.66% 2016-02-13 18:21:59 +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
meew0
6f31130726 Rebuild lib after @enebe-nb's changes 2016-01-15 15:15:25 +01:00
abalabahaha
718f0b9543 Rebuilt lib for dev and getInvite 2016-01-02 18:24:55 -08:00
Amish Shah
9c8e6eed24 5.3.2 web dists 2016-01-01 18:40:57 +00:00
meew0
7860828a5d Rebuild 2015-12-31 22:57:33 +01:00
Amish Shah
b927b223bb 5.3.1 2015-12-26 18:35:08 +00:00
Amish Shah
8d0fc8e0a6 Resilience to abusers of the API
For some reason there's a way to join text channels via the Discord API but not the Discord Client, so this commit
prevents the Client from crashing by checking to see if the channels are voice channels.
2015-12-26 18:32:46 +00:00
Amish Shah
f9f7a568fc 5.3.0 web dists 2015-12-26 18:21:04 +00:00
abalabahaha
830cc64828 Fixed #105 and built 2015-12-26 15:10:32 +00:00
Amish Shah
7819dcb3d1 browserified 5.2.0 2015-12-23 22:58:25 +00:00
Amish Shah
d8ac7e97a1 Removed console.log 2015-12-19 21:24:02 +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
cd4a70cfb2 Fixed the fix and built 2015-12-11 21:37:59 -08:00
Amish Shah
4f2e2a115c v5.1.0 web dists 2015-12-04 21:09:26 +00:00
Amish Shah
ac2398e47c started working on bug fixes and test scripts 2015-12-04 20:30:11 +00:00
abalabahaha
6564c27faf Folder turned necessary after Discord debate 2015-11-28 21:24:49 -08:00
abalabahaha
eaf30cc80c Removed unnecessary folder
If you're cloning from the repo, use "grunt --dev" to generate it
2015-11-28 10:58:56 -08:00
abalabahaha
c9497a0f75 Emit -ed and fixed presence vs. userUpdated check 2015-11-22 17:15:49 -08:00
Amish Shah
213379e669 Fixed compiled version
Downgraded babel until a working solution found
2015-11-22 17:13:52 +00:00
Amish Shah
b22995f254 Built src again using the correct preset 2015-11-22 15:12:39 +00:00
Amish Shah
68b60c5464 rebuilt files 2015-11-22 15:01:42 +00:00