This commit is contained in:
Yuzu 2023-06-05 02:46:47 -05:00 committed by GitHub
parent 30c4e4a43f
commit 5c462a712a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!' }