make pylance not cry from my onions

This commit is contained in:
NCPlayz
2021-04-19 16:34:52 +01:00
committed by Arthur Jovart
parent bf43cff621
commit 24855484e1

View File

@@ -88,7 +88,7 @@ class WelcomeChannel:
return cls(channel=channel, description=description, emoji=emoji) # type: ignore
def to_dict(self) -> WelcomeScreenChannelPayload:
ret = {
ret: WelcomeScreenChannelPayload = {
'channel_id': self.channel.id,
'description': self.description,
'emoji_id': None,