fix: Fix read channel event
This commit is contained in:
parent
8a79f2671b
commit
38fe3f0be2
1 changed files with 7 additions and 5 deletions
|
|
@ -48,11 +48,13 @@ export default defineEvent("messageCreate", async (message) => {
|
|||
: "알수없는 메시지"
|
||||
);
|
||||
} else {
|
||||
await content.split("\n").forEach(async text => {
|
||||
await playVoice(
|
||||
guild,
|
||||
profile,
|
||||
content = content
|
||||
text
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
} catch(err) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue