discord.js/test
1Computer1 19c298f5cc refactor: rewrite message creation (#2774)
* Rework createMessage
- MessageAttachment is now structurally similar to FileOptions
- No longer mutates the object passed as options
- Supports more permutations of arguments

* Ignore complexity warning

* Refactor name finding

* Fix typo

* Update typings

* Default name to null for MessageAttachment

* Make Message#reply use transformOptions

* Move transformOptions

* Fix Message#reply

* Fix mutation

* Update tests

* Fix options passing

* Refactor into APIMessage

* Fix webhook send

* Expose APIMessage

* Add documentation

* Add types

* Fix type doc

* Fix another type doc

* Fix another another type doc (is this one even right!?)

* Remove trailing comma

* Properly clone split options

* Add support for sending file as stream

* Missed a doc

* Resolve files only once when splitting messages

* This looks nicer

* Assign directly

* Don't cache data and files

* Missing return type

* Use object spread instead Object.assign

* Document constructors

* Crawl is a little dot

* comp pls

* tests: sanitize local file path, disable no-await-in-loop
2018-08-21 18:22:29 +02:00
..
blobReach.png refactor: rewrite message creation (#2774) 2018-08-21 18:22:29 +02:00
random.js Store and Model Refactor (#1618) 2017-08-25 21:08:58 +01:00
sendtest.js refactor: rewrite message creation (#2774) 2018-08-21 18:22:29 +02:00
shard.js Update voice and shard examples (#1608) 2017-06-24 23:20:29 +01:00
sharder.js switch to node-fetch (#2587) 2018-06-19 20:10:55 +02:00
tester1000.js Add rateLimit event (#2019) 2017-10-24 21:07:21 +01:00
voice.js voice: remove createReceiver, just use VoiceConnection.receiver 2018-08-16 18:30:54 +01:00
webpack.html switch to node-fetch (#2587) 2018-06-19 20:10:55 +02:00