fix getString argument
This commit is contained in:
parent
86fa4a01d3
commit
ca3c6f27a5
1 changed files with 2 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ export default defineCommand(
|
||||||
flags: [MessageFlags.Ephemeral]
|
flags: [MessageFlags.Ephemeral]
|
||||||
});
|
});
|
||||||
|
|
||||||
const style = interaction.options.getString("voice") as string;
|
const style = interaction.options.getString("style") as string;
|
||||||
setUserSupertonicStyle(interaction.user.id, style);
|
await setUserSupertonicStyle(interaction.user.id, style);
|
||||||
|
|
||||||
await interaction.editReply("예주의 목소리 스타일을 변경했어요!");
|
await interaction.editReply("예주의 목소리 스타일을 변경했어요!");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue