Overhaul channel typing system (#576)

* Overhaul channel typing system

* Fix ESLint error

* Add channel.isTyping()

* Add count argument to startTyping

* Add range checking to startTyping count

* Better range checking for count

* Add channel.getTypingCount()

* Change getTypingCount() to typingCount getter

* Switch isTyping() to typing getter

* Fix new methods and switch to Map

* Fix applyProp so getters/setters will work

* Add default value to force
This commit is contained in:
Schuyler Cebulskie
2016-09-02 08:00:33 -04:00
committed by Amish Shah
parent 168256469e
commit b8a5669fda
4 changed files with 99 additions and 17 deletions

View File

@@ -48,7 +48,19 @@ class TextChannel extends GuildChannel {
return;
}
setTyping() {
startTyping() {
return;
}
stopTyping() {
return;
}
get typing() {
return;
}
get typingCount() {
return;
}