make pylance not cry from my onions
This commit is contained in:
@@ -88,7 +88,7 @@ class WelcomeChannel:
|
|||||||
return cls(channel=channel, description=description, emoji=emoji) # type: ignore
|
return cls(channel=channel, description=description, emoji=emoji) # type: ignore
|
||||||
|
|
||||||
def to_dict(self) -> WelcomeScreenChannelPayload:
|
def to_dict(self) -> WelcomeScreenChannelPayload:
|
||||||
ret = {
|
ret: WelcomeScreenChannelPayload = {
|
||||||
'channel_id': self.channel.id,
|
'channel_id': self.channel.id,
|
||||||
'description': self.description,
|
'description': self.description,
|
||||||
'emoji_id': None,
|
'emoji_id': None,
|
||||||
|
|||||||
Reference in New Issue
Block a user