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