Add Protocol Urls #103

Merged
Chiggy-Playz merged 17 commits from ProtocolUrls into 2.0 2021-10-27 12:32:50 +00:00
2 changed files with 69 additions and 1 deletions
Showing only changes of commit 2cc9d7b46c - Show all commits

View File

@ -651,10 +651,10 @@ class ProtocolUrl(Enum):
games_library = "discord://-/library"
library_settings = "discord://-/library/settings"
def __str__(self):
def __str__(self) -> str:
return self.value
def format(self, **kwargs):
def format(self, **kwargs) -> str:
return self.value.format(**kwargs)