Gus Caplan
566135d25b
move permission stuff to the resolver ( #1185 )
2017-02-22 20:11:11 +00:00
Schuyler Cebulskie
7232531eb1
Move all util methods into class
...
Remove TransformMessageOptions altogether
2017-02-15 22:25:18 -05:00
Schuyler Cebulskie
b91f8f27be
Fix resolveBuffer file failure behaviour
2017-02-15 16:37:31 -05:00
Gus Caplan
7c8f534a38
add random color ( #1175 )
...
* add random color
* Update ClientDataResolver.js
* Update ClientDataResolver.js
2017-02-07 01:19:43 -05:00
Schuyler Cebulskie
f647eb7a91
Clean up colour resolver
2017-01-13 22:55:10 -05:00
Gus Caplan
0d4eab8d24
add color resolvable, and color constants from the client ( #1080 )
...
* add color resolvable, and color constants from the client
* fix up docs
* Update ClientDataResolver.js
* add easter eggs
* Update ClientDataResolver.js
* Update RESTMethods.js
2017-01-12 18:43:22 +00:00
Gus Caplan
495264761c
Add snowflake utils ( #1064 )
...
* snowflakes
* use proper binary for snowflake example
* fix jsdoc errors
* remove dupe
2017-01-05 15:41:42 +00:00
Gus Caplan
beffb390e6
Add search ( #1043 )
...
* add search
* Update ClientDataResolver.js
2016-12-30 02:44:19 -05:00
bdistin
ea798eaaf3
Update Missing Permission Resolvables ( #1035 )
2016-12-28 18:27:02 -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
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
Gus Caplan
fa7d63a10a
add an invite generator ( #993 )
...
* add an invite generator
* `number |= null` is safe, so we can simplify this
* Update Client.js
* aaaaaa
2016-12-20 23:37:36 +00:00
Schuyler Cebulskie
769ea5b50f
Add more detail to error message
2016-11-27 19:39:10 -05:00
Gus Caplan
2440a4a2c8
Add webpack building ( #907 )
...
* friggin webpack tho
* probably important
* add all the stuff to the package.json
* add minify builds and a nice package.json script to run it all
* clean up
* use uglify harmony branch so we can actually run minify builds that work
* update build system
* make test better
* clean up
* fix issues with compression
*
* c++ requirements in a node lib? whaaaaat?
* fix travis yml?
* put railings on voice connections
* 🖕🏻
* aaaaaa
* handle arraybuffers in the unlikely event one is sent
* support arraybuffers in resolvebuffer
* this needs to be fixed at some point
* this was fixed
* disable filename versioning if env VERSIONED is set to false
* Update ClientDataResolver.js
* Update ClientVoiceManager.js
* Update WebSocketManager.js
* Update ConvertArrayBuffer.js
* Update webpack.html
* enable compression for browser and fix ws error handler
* Update WebSocketManager.js
* everything will be okay gawdl3y
* compression is slower in browser, so rip the last three hours of my life
* Update Constants.js
* Update .gitignore
2016-11-20 19:38:16 -05:00
Programmix
5ed8098af8
Clean up reactions, add remove all reactions ( #890 )
...
* Clean up reactions, add remove all reactions
* Reorganize reactions
* Re-add Gawdl3y's precious little inline
* Update Message.js
2016-11-13 02:29:26 -05:00
Steffen
a359f344d8
UnhandledPromiseRejectionWarning caused by resolveBuffer on empty resource body ( #886 )
...
* Fix for UnhandledPromiseRejectionWarning in resolveBuffer
* code simplification
* reject with TypeError if body is not a Buffer
2016-11-13 02:07:51 -05:00
Programmix
fe3914658a
Grammar cleanup ( #875 )
...
This commit:
* fixes inconsistencies (primarily regarding capitalization)
* fixes non-proper nouns that were improperly capitalized
* fixes reminents from not-so-meticulous copy+paste jobs
2016-11-05 23:57:34 +00:00
Schuyler Cebulskie
5fa9e3548b
Rename ClientDataResolver.resolveFile -> resolveBuffer
2016-10-30 16:29:56 -04:00
Schuyler Cebulskie
60e0d507f0
Clean up nearly all promises to utilise chaining, other small fixes
2016-10-30 16:27:28 -04:00
Amish Shah
c334bf4535
Merge branch 'master' into indev
2016-10-28 18:47:49 +01:00
Pascal Luttgens
cdf66f8011
Fixed resolveChannel when using a string ( #857 )
2016-10-28 14:09:40 +01:00
Amish Shah
dfeafbf5fa
Add the ADD_REACTIONS permission
2016-10-27 17:32:23 +01:00
Schuyler Cebulskie
26804f3673
Reorganise resolver
2016-10-12 02:26:56 -04:00
Programmix
c4e1e4f50f
Add InviteResolvable ( #766 )
...
* Add InviteResolvable
Add InviteResolvable
* Return data as fallback instead
* Rename resolver method
2016-10-02 19:21:08 -04:00
Schuyler Cebulskie
a2778d4a96
Fix resolveFile on nonexistent paths ( #717 )
2016-09-19 16:58:15 -04:00
Schuyler Cebulskie
9288cd8563
Replace usages of owner.id with ownerID, and fix GroupDMChannel.equals
2016-09-19 01:43:24 -04:00
Schuyler Cebulskie
5f9204f57c
Improve resolvePermission failure check
2016-09-19 00:19:15 -04:00
Schuyler Cebulskie
bbddfef7f6
Add resolveUserID and improve other resolutions
2016-09-18 22:59:38 -04:00
Schuyler Cebulskie
6fb0691a2b
Add label for permission strings docs
2016-09-12 13:06:11 -04:00
Amish Shah
ac2ad0dd23
Document PermissionResolvables
2016-09-12 17:58:57 +01:00
Amish Shah
3fba72107b
Add GuildMember.permissionsIn and make ChannelResolvables more lenient
2016-09-11 12:51:32 +01:00
Schuyler Cebulskie
47d71d32f3
Make grammer gooder
2016-09-11 01:40:37 -04:00
Amish Shah
9c915d1e0a
Fix constants errors not giving a stacktrace
2016-09-04 11:53:48 +01:00
Amish Shah
0c32e590a8
fix constants reference
2016-09-04 11:35:21 +01:00
Schuyler Cebulskie
0b908f5bce
Cleanup Part 2: Electric Boogaloo (Reloaded) ( #594 )
...
* Cleanup Part 2: Electric Boogaloo (Reloaded)
* Moar cleanup
* Tweak NOT_A_PERMISSION error
2016-09-04 10:08:09 +01:00
Schuyler Cebulskie
64d89b3748
Replace a few rejections with throw ( #590 )
2016-09-03 21:36:54 +01:00
Schuyler Cebulskie
68acf37fd4
Add stricter/better ESLint config ( #589 )
...
* Add stricter/better ESLint config
* Remove more unnecessary @returns
2016-09-03 20:45:23 +01:00
Schuyler Cebulskie
02324fbecb
Add string guild resolving ( #587 )
2016-09-03 17:01:50 +01:00
Schuyler Cebulskie
d97ce2e181
Remove all string object references ( #586 )
2016-09-03 16:58:28 +01:00
Schuyler Cebulskie
27652b94af
Make JSDocs follow general conventions ( #582 )
...
* Make JSDocs follow usual conventions
* Fix StringResolvable name
* Make function lowercase
2016-09-03 09:57:25 +01:00
Amish Shah
28ad224207
Add GuildMember as user resolvable
2016-09-01 12:05:29 +01:00
Amish Shah
52adb3d8b2
undo fix whoops ¯\_(ツ)_/¯
2016-08-29 19:13:47 +01:00
Amish Shah
1e2e940b98
File resolving can use http too now
2016-08-29 19:10:05 +01:00
Amish Shah
78e0d88f55
Make file resolving non-blocking for local paths
2016-08-29 19:08:36 +01:00
Manuel Kraus
d9ae732bfd
Add sendFile function ( #562 )
...
* sendFile
* Add default value to filename
* eslint
* (╯°□°)╯︵ ┻━┻
2016-08-29 19:01:05 +01:00
Amish Shah
6f2caffd32
Add setting channel overwrites
2016-08-22 18:47:21 +01:00
Amish Shah
82ab92ca2a
Migrate most of the Client Data Store to Clien
2016-08-19 22:21:34 +01:00
Amish Shah
ed818d6e7f
Remove GuildDataStore and move towards storing data in Maps
2016-08-19 19:58:37 +01:00
Amish Shah
dbe978d926
Finish DataResolver docs
2016-08-19 13:59:22 +01:00