Schuyler Cebulskie
a90bd837af
Add sodium to optional packages list
2017-02-06 02:06:01 -05:00
Schuyler Cebulskie
0f6fceebb4
Update voice webpack exclusions
2017-02-06 01:57:08 -05:00
Schuyler Cebulskie
d6f17a9319
Merge branch 'master' into indev-prism
2017-02-06 01:54:31 -05:00
Schuyler Cebulskie
4dc70d8cef
Update dependencies and fix tweetnacl webpack exclusion
2017-02-06 01:27:04 -05:00
Jacob
49944747ae
Sodium ( #1172 )
...
* Use Native libsodium when available
* add newline
* fix typo of exports
* add to webpack ignore
* Update Secretbox.js
2017-02-06 01:24:54 -05:00
Schuyler Cebulskie
b859ba7639
Increase some documentation detail
2017-02-05 23:00:36 -05:00
Amish Shah
26becb570b
Fix #1168 (.hasPermission)
2017-02-04 20:58:39 +00:00
Gus Caplan
59ff1d99ba
fix types for snowflakes ( #1156 )
...
* fix types for snowflakes
* Update TextBasedChannel.js
2017-02-03 21:37:58 -05:00
Funnbot
0b5eeb08f3
clone topic in channel.clone() ( #1157 )
...
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
* Update GuildChannel.js
2017-02-03 21:37:32 -05:00
Gus Caplan
cee9e4839c
fix sending code when you aren't splitting the message ( #1162 )
...
* fasguhq4wbyghjehuibh
kjgewqhuilb
* Update RESTMethods.js
2017-02-02 16:21:26 +00:00
Gus Caplan
1e94a9e2a4
serious role position stuff ( #1159 )
...
* serious role position stuff
* kill meh
* Update Role.js
* Update Guild.js
* Update Role.js
2017-02-01 22:02:16 +00:00
Schuyler Cebulskie
02c23a8b53
Merge branch 'master' into indev-prism
2017-02-01 15:32:18 -05:00
bdistin
a2d6791cd8
Fix CodeBlock Splitting ( #1160 )
...
* Fix CodeBlock Splitting
* fix changes requested
2017-02-01 15:31:57 -05:00
Schuyler Cebulskie
e8ac18489e
Merge branch 'master' into indev-prism
2017-02-01 15:29:45 -05:00
Schuyler Cebulskie
187f43aebd
Make a letter lowercase
2017-02-01 02:06:24 -05:00
Schuyler Cebulskie
c40a511954
Change wording slightly
2017-02-01 02:03:42 -05:00
Schuyler Cebulskie
d51e45f3b9
Add bufferutil info, and uws warning
2017-02-01 02:01:36 -05:00
Schuyler Cebulskie
a5b901f4ef
Update ws and opusscript
2017-02-01 01:52:22 -05:00
Alex
ed42d7bd85
Fix backwards GuildEmojiCreate parameters ( #1153 )
2017-01-31 00:49:11 -05:00
Gus Caplan
8da915f6a1
expose createDM ( #1151 )
...
* expose createDM
* Update User.js
* in v12 we are removing these, kay?
* Update GuildMember.js
* Update User.js
2017-01-30 22:56:14 -05:00
Schuyler Cebulskie
f4724d61b2
Fix #1095
2017-01-30 22:54:37 -05:00
Gus Caplan
565c640bc6
Add role support to emoji creation ( #1141 )
...
* add role support to emojis
* specify types
2017-01-30 22:47:27 -05:00
Alex
18729b25c7
Add support to edit emojis ( #1142 )
...
* Add support to edit emojis
* Fixes for coding style.
* Add and use guildEmoji constants for updateEmoji
* Just use the Constant
* Fix typo in edit documentation
* Specify property types
* Fix ridiculous typo.
* Update Emoji.js
2017-01-30 22:47:05 -05:00
Schuyler Cebulskie
94483ae194
GOODER
2017-01-30 21:52:41 -05:00
Schuyler Cebulskie
f73fd4ec29
get grammer gooder
2017-01-30 21:27:28 -05:00
Schuyler Cebulskie
2e1310ae72
Add web build docs, many other minor doc changes
2017-01-30 21:23:06 -05:00
Schuyler Cebulskie
e9ab9c9f92
Improve scripts
2017-01-30 20:21:53 -05:00
Programmix
78dafb9480
Properly check whether an Opus engine exists ( #1150 )
...
* Properly check whether an Opus engine exists
I think I'm retarded
* Fix eslint error
* Update OpusEngineList.js
2017-01-30 16:38:47 -05:00
Gus Caplan
8ee0acf44c
make d.js great again ( #1149 )
...
get out, donald
* AGHHH
* FUHFUHFUHFUHUFHUHF
2017-01-29 19:10:25 +00:00
Programmix
7ed58f5f7f
Added Opus stream support, added volume interface ( #1102 )
...
* Added opus stream support, added volume interface
* Remove setImmediate
* Fix weird syntax error
* Most useless commit ever
You're welcome, @PgBiel
* Fix potential memory leak with OpusScript
Emscripten has the tendency to not free resources even when the Opus engine instance has been garbage collected. Thanks to @abalabahaha for pointing this out.
* Typo
* VoiceReceiver.destroy: destroy opus encoder
2017-01-29 19:07:33 +00:00
Programmix
5059c59a31
Message patching: clear mention collections ( #1138 )
...
* Message patching: clear mention collections
Fixes #1089
When discord sends an array of mentions, it is a full list of mentions -- therefore, we should clear the old mention collection. The same goes for when we re-analyze the message for channel mentions.
* Use Collection.clear() instead of new Collection
2017-01-29 19:02:54 +00:00
Fiddlekins
6fae17912e
Added try catch so that decode errors aren't fatal ( #1146 )
...
* Added try catch so that decode errors aren't fatal
* Tweaked the usage of the warn event and updated jsdocs
* Moved method into class for webpack scoping reasons
2017-01-29 18:59:00 +00:00
Digitroinc
448c93615b
fix splitting messages #1148 )
...
* fix for issue #1120
* build fix
2017-01-29 18:58:35 +00:00
Gus Caplan
2beb77ab5c
check if a guildchannel is deletable ( #1143 )
...
* Update GuildChannel.js
* eghhh
* Update GuildChannel.js
2017-01-28 10:07:53 +00:00
Pg Biel
c7f5b44e03
Add User.lastMessage, GuildMember.lastMessage and TextBasedChannel.lastMessage ( #1135 )
...
* Add User.lastMessage
* User.lastMessage and GuildMember.lastMessage
* User, GuildMember and TextBasedChannel lastMessage
* Update MessageCreate.js
2017-01-26 21:24:08 +00:00
Programmix
9a6cb6477d
VoiceReceiver: multiple streams fix ( #1132 )
...
* VoiceReceiver: multiple streams fix
silly hydar... you can't have one Opus engine instance for every stream
* Better creation of opus engine
2017-01-26 21:23:00 +00:00
Gus Caplan
87b600f78f
switch to os shim for safety ( #1136 )
...
* switch to os shim for safety
* Update Client.js
2017-01-26 21:21:43 +00:00
Programmix
ba11f76284
Fix patching message reactions ( fixes #1071 ) ( #1137 )
2017-01-26 21:20:40 +00:00
Alex
ba7c2db364
Fix createEmoji/deleteEmoji action name. ( #1110 )
2017-01-24 21:56:19 +00:00
Alexander
5173583e26
Fix empty search query parameters ( #1119 )
...
The search function was sending request to stuff like:
search?author_id=&content=&channel_id=135823828352838352
2017-01-24 21:55:59 +00:00
Programmix
c1a5bee61f
GuildMembersChunk packet handler hotfix ( #1125 )
...
* GuildMembersChunk packet handler hotfix
* Add limit, resolve properly if a query is used
* Document new GuildMemberChunk param
2017-01-24 21:55:36 +00:00
Gus Caplan
4b2053133d
more profile stuff ( #1131 )
2017-01-24 21:53:26 +00:00
Programmix
c73e501243
Fix RESTMethods.removeMessageReaction ( fixes #1114 ) ( #1126 )
2017-01-21 19:48:17 -05:00
Gus Caplan
306ea97f99
fix guild member fetching edge cases ( #1115 )
...
* thx4tipprogrammixluvubye
* consistancy
* make this loop for some reason
* so impatient
2017-01-21 16:37:28 +00:00
Schuyler Cebulskie
3545e731c0
Renamed webpack build script
2017-01-19 22:07:02 -05:00
Schuyler Cebulskie
f51ba3fb06
Update to Webpack 2.2 stable
2017-01-19 22:04:18 -05:00
Gus Caplan
0300601649
remove redundant editing ( #1116 )
...
* remove redundant editing
* update docs
2017-01-19 17:11:24 +00:00
Gus Caplan
1e6abe587b
no more ( #1117 )
2017-01-19 17:10:54 +00:00
Schuyler Cebulskie
b13fdcc8d3
Merged master into indev-prism
2017-01-18 19:23:18 -05:00
Gus Caplan
3f4cbd07dd
add voice region getting ( #1108 )
...
* add voice region getting
* clean up this mess
* add docstrings
* Update VoiceRegion.js
* Update RESTMethods.js
2017-01-18 19:14:44 -05:00