mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
Change default local cache level (#5140)
* Change default local cache level * Update the owner message as well
This commit is contained in:
@@ -198,7 +198,7 @@ class AudioAPIInterface:
|
||||
uri: str,
|
||||
notifier: Optional[Notifier],
|
||||
skip_youtube: bool = False,
|
||||
current_cache_level: CacheLevel = CacheLevel.none(),
|
||||
current_cache_level: CacheLevel = CacheLevel.all(),
|
||||
) -> List[str]:
|
||||
"""Return youtube URLS for the spotify URL provided."""
|
||||
youtube_urls = []
|
||||
@@ -718,7 +718,7 @@ class AudioAPIInterface:
|
||||
self,
|
||||
ctx: commands.Context,
|
||||
track_info: str,
|
||||
current_cache_level: CacheLevel = CacheLevel.none(),
|
||||
current_cache_level: CacheLevel = CacheLevel.all(),
|
||||
) -> Optional[str]:
|
||||
"""Call the Youtube API and returns the youtube URL that the query matched."""
|
||||
track_url = await self.youtube_api.get_call(track_info)
|
||||
|
||||
Reference in New Issue
Block a user