Add Protocol Urls #103

Merged
Chiggy-Playz merged 17 commits from ProtocolUrls into 2.0 2021-10-27 12:32:50 +00:00
4 changed files with 72 additions and 14 deletions
Showing only changes of commit 3a9258b49f - Show all commits

View File

@ -647,17 +647,16 @@ class ProtocolUrls(Enum):
guild_membership_screening = "discord://-/member-verification/{guild_id}"
# Library
games_library = "discord://-/library"
library_settings = "discord://-/library/settings"
def __str__(self):
return self.value
def format(self, **kwargs):
return self.value.format(**kwargs)
T = TypeVar("T")