Files
discord.js/src/structures
SpaceEEC 94a4a068b9 fix(TextBasedChannel): return a promise in startTyping and clarify count parameter (#2047)
* fix(TextBasedChannel): return a promise in startTyping

This fixes #2040

Calling TextBasedChannel#startTyping now returns a promise.
This promise resolves when the bot stops typing (TextBasedChannel#stopTyping) or rejects when an error occurs.
Calling the method again returns the same promise as long the bot is still typing.

* move code into the promise' executor

* Clarify the purpose of the returned Promise

* inverse if and clarify count parameter
2017-10-29 14:53:34 +01:00
..
2017-08-25 21:08:58 +01:00
2017-10-28 19:04:03 +02:00
2017-09-26 07:18:12 +02:00
2017-04-30 04:30:44 +02:00
2017-10-28 19:04:03 +02:00