diff --git a/packages/bot/events/readChannel.ts b/packages/bot/events/readChannel.ts index 6cf0e59..b2e5765 100644 --- a/packages/bot/events/readChannel.ts +++ b/packages/bot/events/readChannel.ts @@ -48,13 +48,9 @@ export default defineEvent("messageCreate", async (message) => { : "알수없는 메시지" ); } else { - await content.split("\n").forEach(async text => { - await playVoice( - guild, - profile, - text - ); - }); + for (const text of content.split("\n")) { + await playVoice(guild, profile, text); + } } } catch(err) {