discord.js/test
Timo 9cb306c823
feat: replace disableEveryone with disableMentions (#3830)
* add ClientOptions#disableMentions and MessageOptions#disableMentions

* provide tests

* don't sanitize controlled mentions

* add @here mentions to tests

* fix indents (6 spaces instead of 8)

* add Util#cleanContent tests

* add typings for removeMentions

* replace @ with @\u200b AFTER cleaning content as suggested instead of using removeMentions

* better explanation of this option

* no newline in Util.removeMentions

* fix long line

* remove double space

* remove comments (change has been reverted)

* Use Util.removeMentions to remove mentions

* use Util.removeMentions in Util.cleanContent
2020-02-26 11:13:23 +00:00
..
blobReach.png refactor: rewrite message creation (#2774) 2018-08-21 18:22:29 +02:00
disableMentions.js feat: replace disableEveryone with disableMentions (#3830) 2020-02-26 11:13:23 +00:00
escapeMarkdown.test.js refactor(Util.escapeMarkdown): allow separate escaping and add tests (#3241) 2019-07-11 22:08:40 +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 feat: Internal sharding (#2902) 2018-11-03 13:21:23 -05:00
sharder.js switch to node-fetch (#2587) 2018-06-19 20:10:55 +02:00
tester1000.js fix(WebSocketShard): add websocket send error handling (#2981) 2018-12-22 08:49:56 +01:00
voice.js fix: old objects not being cached (#3225) 2019-04-23 11:32:03 +01:00
webhooktest.js test: add Webhook(Client) testing file (#2855) 2019-04-14 15:27:59 +02:00
webpack.html switch to node-fetch (#2587) 2018-06-19 20:10:55 +02:00