feat(MessageStore): add remove() (#2468)

* MessageStore#remove()

* typings
This commit is contained in:
bdistin
2019-04-29 11:53:32 -05:00
committed by Amish Shah
parent d7a9b74523
commit 2666a9d6db
3 changed files with 16 additions and 7 deletions

1
typings/index.d.ts vendored
View File

@@ -1448,6 +1448,7 @@ declare module 'discord.js' {
public fetch(message: Snowflake, cache?: boolean): Promise<Message>;
public fetch(options?: ChannelLogsQueryOptions, cache?: boolean): Promise<Collection<Snowflake, Message>>;
public fetchPinned(cache?: boolean): Promise<Collection<Snowflake, Message>>;
public remove(message: MessageResolvable, reason?: string): Promise<void>;
}
export class PresenceStore extends DataStore<Snowflake, Presence, typeof Presence, PresenceResolvable> {