cleanup: remove unused members of classes (#3078)

* cleanup: Remove unused members of classes

* typings: Remove hit from Message
This commit is contained in:
Kyra
2019-02-11 20:33:13 +01:00
committed by SpaceEEC
parent c362ba0dd5
commit 0c7a618f10
6 changed files with 0 additions and 12 deletions

View File

@@ -59,7 +59,6 @@ class DMChannel extends Channel {
get lastMessage() {}
get lastPinAt() {}
send() {}
search() {}
startTyping() {}
stopTyping() {}
get typing() {}

View File

@@ -229,7 +229,6 @@ class GroupDMChannel extends Channel {
get lastMessage() {}
get lastPinAt() {}
send() {}
search() {}
startTyping() {}
stopTyping() {}
get typing() {}

View File

@@ -153,12 +153,6 @@ class Message extends Base {
type: data.activity.type,
} : null;
/**
* Whether this message is a hit in a search
* @type {?boolean}
*/
this.hit = typeof data.hit === 'boolean' ? data.hit : null;
/**
* The previous versions of the message, sorted with the most recent first
* @type {Message[]}

View File

@@ -127,7 +127,6 @@ class TextChannel extends GuildChannel {
get lastMessage() {}
get lastPinAt() {}
send() {}
search() {}
startTyping() {}
stopTyping() {}
get typing() {}