diff --git a/example/music-bot/index.js b/example/music-bot/index.js index c423924..21579bb 100644 --- a/example/music-bot/index.js +++ b/example/music-bot/index.js @@ -152,7 +152,7 @@ client.on("messageCreate", async (message) => { } }); -client.on("interaction", async (interaction) => { +client.on("interactionCreate", async (interaction) => { if (!interaction.isCommand() || !interaction.guildId) return; if (!(interaction.member instanceof GuildMember) || !interaction.member.voice.channel) {