mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
test: Remove unused test (#10638)
test: remove unused test Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2033,8 +2033,6 @@ client.on('interactionCreate', async interaction => {
|
|||||||
);
|
);
|
||||||
expectType<MediaChannel>(interaction.options.getChannel('test', true, [ChannelType.GuildMedia]));
|
expectType<MediaChannel>(interaction.options.getChannel('test', true, [ChannelType.GuildMedia]));
|
||||||
} else {
|
} else {
|
||||||
// @ts-expect-error
|
|
||||||
consumeCachedCommand(interaction);
|
|
||||||
expectType<ChatInputCommandInteraction>(interaction);
|
expectType<ChatInputCommandInteraction>(interaction);
|
||||||
expectType<Promise<Message>>(interaction.reply({ fetchReply: true }));
|
expectType<Promise<Message>>(interaction.reply({ fetchReply: true }));
|
||||||
expectType<APIInteractionDataResolvedGuildMember | GuildMember | null>(interaction.options.getMember('test'));
|
expectType<APIInteractionDataResolvedGuildMember | GuildMember | null>(interaction.options.getMember('test'));
|
||||||
|
|||||||
Reference in New Issue
Block a user