mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
cleanup: remove unused members of classes (#3078)
* cleanup: Remove unused members of classes * typings: Remove hit from Message
This commit is contained in:
@@ -59,7 +59,6 @@ class DMChannel extends Channel {
|
||||
get lastMessage() {}
|
||||
get lastPinAt() {}
|
||||
send() {}
|
||||
search() {}
|
||||
startTyping() {}
|
||||
stopTyping() {}
|
||||
get typing() {}
|
||||
|
||||
@@ -229,7 +229,6 @@ class GroupDMChannel extends Channel {
|
||||
get lastMessage() {}
|
||||
get lastPinAt() {}
|
||||
send() {}
|
||||
search() {}
|
||||
startTyping() {}
|
||||
stopTyping() {}
|
||||
get typing() {}
|
||||
|
||||
@@ -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[]}
|
||||
|
||||
@@ -127,7 +127,6 @@ class TextChannel extends GuildChannel {
|
||||
get lastMessage() {}
|
||||
get lastPinAt() {}
|
||||
send() {}
|
||||
search() {}
|
||||
startTyping() {}
|
||||
stopTyping() {}
|
||||
get typing() {}
|
||||
|
||||
Reference in New Issue
Block a user