mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
backport(TextBasedChannel): add lastPinTimestamp and lastPinAt (#2870)
And clarify Client#channelPinsUpdate's 'time' parameter.
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -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