Typehint ProtocolUrl methods
This commit is contained in:
parent
64ff807309
commit
2cc9d7b46c
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user