diff --git a/packages/bot/commands/playVoice.ts b/packages/bot/commands/playVoice.ts index 42361bc..d93f6b8 100644 --- a/packages/bot/commands/playVoice.ts +++ b/packages/bot/commands/playVoice.ts @@ -22,9 +22,11 @@ export default defineCommand( return await interaction.editReply("올바르지 않은 서버에요"); try { + const userProfile = await getUserProfile(interaction.user.id); await playVoice( interaction.guild, - await getUserProfile(interaction.user.id), + userProfile, + userProfile.voice, interaction.options.getString("content") as string );