feat(InlineReplies): add typings for sending inline replies

This commit is contained in:
monbrey 2020-10-02 15:41:08 +10:00
parent ab5ee838a3
commit a5ce6cfa9a

6
typings/index.d.ts vendored
View file

@ -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;