def convert(self):
cache_path = os.path.join('data/audio/cache',
self.argument + "-encoded")
if not os.path.exists(cache_path):
raise commands.BadArgument("Cache file '{}' not found.".format(
cache_path))
return cache_path
评论列表
文章目录