mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 06:01:03 +00:00
feat(InlineReplies): add typings for sending inline replies
This commit is contained in:
parent
ab5ee838a3
commit
a5ce6cfa9a
1 changed files with 6 additions and 0 deletions
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
|
|
@ -2831,6 +2831,7 @@ declare module 'discord.js' {
|
|||
code?: string | boolean;
|
||||
split?: boolean | SplitOptions;
|
||||
reply?: UserResolvable;
|
||||
messageReference?: MessageResolvable | MessageReplyReference;
|
||||
}
|
||||
|
||||
type MessageReactionResolvable = MessageReaction | Snowflake;
|
||||
|
|
@ -2841,6 +2842,11 @@ declare module 'discord.js' {
|
|||
messageID: string | null;
|
||||
}
|
||||
|
||||
interface MessageReplyReference {
|
||||
channelID: string;
|
||||
messageID: string;
|
||||
}
|
||||
|
||||
type MessageResolvable = Message | Snowflake;
|
||||
|
||||
type MessageTarget = TextChannel | NewsChannel | DMChannel | User | GuildMember | Webhook | WebhookClient;
|
||||
|
|
|
|||
Loading…
Reference in a new issue