[Audio] Disallow all users from modifying Playlist 42069. (#5018)

This commit is contained in:
Draper
2021-05-19 11:41:51 +01:00
committed by GitHub
parent c36665e755
commit 00d2d62f1b
3 changed files with 22 additions and 7 deletions

View File

@@ -322,7 +322,13 @@ class MixinMeta(ABC):
@abstractmethod
async def can_manage_playlist(
self, scope: str, playlist: "Playlist", ctx: commands.Context, user, guild
self,
scope: str,
playlist: "Playlist",
ctx: commands.Context,
user,
guild,
bypass: bool = False,
) -> bool:
raise NotImplementedError()