sfx.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:FlapJack-Cogs 作者: flapjax 项目源码 文件源码
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))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号