From d57a9bca6cad42d7bb42c1dfd9ffb1def59cf4cd Mon Sep 17 00:00:00 2001 From: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Wed, 18 Dec 2019 11:37:30 +0000 Subject: [PATCH] Follow the existing logic and always default Playlist to guild scope --- redbot/cogs/audio/playlists.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/redbot/cogs/audio/playlists.py b/redbot/cogs/audio/playlists.py index 2bf155dc5..662d5be3a 100644 --- a/redbot/cogs/audio/playlists.py +++ b/redbot/cogs/audio/playlists.py @@ -215,12 +215,10 @@ class Database: def get_scope_type(scope: str) -> int: if scope == PlaylistScope.GLOBAL.value: table = 1 - elif scope == PlaylistScope.GUILD.value: - table = 2 elif scope == PlaylistScope.USER.value: table = 3 else: - raise + table = 2 return table def fetch(self, scope: str, playlist_id: int, scope_id: int) -> SQLFetchResult: