typings: remove isAutocomplete typeguard from typings (#8063)

This commit is contained in:
Parbez
2022-06-11 00:49:44 +05:30
committed by GitHub
parent d8077c6839
commit c0f079d232
3 changed files with 2 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ client.on('ready', () => {
});
client.on('interactionCreate', async (interaction) => {
if (!interaction.isCommand()) return;
if (!interaction.isChatInputCommand()) return;
if (interaction.commandName === 'ping') {
await interaction.reply('Pong!');