def tts(self, ctx, *text: str):
"""Play a TTS clip in your current channel"""
if not gTTS_avail:
await self.bot.say("You do not have gTTS installed.")
return
vchan = ctx.message.author.voice_channel
if vchan is None:
await self.bot.say("You are not connected to a voice channel.")
return
self.enqueue_tts(vchan, " ".join(text))
评论列表
文章目录