質問編集履歴

1

プログラム上の説明を追加しました。

2022/04/21 00:43

投稿

Chomo
Chomo

スコア12

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
  client = discord.Client()
41
41
 
42
42
  voiceChannel: VoiceChannel
43
-
43
+ #textをssmlに変換
44
44
  def text_to_ssml(text):
45
45
  escaped_lines = html.escape(text)
46
46
  ssml = "{}".format(escaped_lines.replace("\n",'\n<break time="1s"/>'))