From 5c462a712ab7b6595162313cbc0ed5afe0f86bb5 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Mon, 5 Jun 2023 02:46:47 -0500 Subject: [PATCH] fixes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34f0a6f..688ae9f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ session.on('READY', (payload) => { session.on('INTERACTION_CREATE', (interaction) => { if (interaction.type !== InteractionType.ApplicationCommand) return; - session.api.managers.interaction.reply(interaction.id, interaction.token, { + session.managers.interaction.reply(interaction.id, interaction.token, { body: { type: InteractionResponseType.ChannelMessageWithSource, data: { content: 'pong!' }