mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 10:58:18 +00:00
backport(TextBasedChannel): add lastPinTimestamp and lastPinAt (#2870)
And clarify Client#channelPinsUpdate's 'time' parameter.
This commit is contained in:
Vendored
+2
@@ -1554,6 +1554,8 @@ declare module 'discord.js' {
|
||||
};
|
||||
|
||||
type TextBasedChannelFields = {
|
||||
lastPinTimestamp: number;
|
||||
readonly lastPinAt: Date;
|
||||
typing: boolean;
|
||||
typingCount: number;
|
||||
awaitMessages(filter: CollectorFilter, options?: AwaitMessagesOptions): Promise<Collection<string, Message>>;
|
||||
|
||||
Reference in New Issue
Block a user