make pylance not cry from my onions

This commit is contained in:
NCPlayz
2021-09-01 20:20:41 +02:00
committed by Arthur Jovart
parent bf43cff621
commit 24855484e1
+1 -1
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,