Implement WelcomeScreen #42

Merged
paris-ci merged 9 commits from pr6477 into 2.0 2021-09-02 20:40:12 +00:00
Showing only changes of commit bf43cff621 - Show all commits

View File

@@ -87,7 +87,7 @@ class WelcomeChannel:
return cls(channel=channel, description=description, emoji=emoji) # type: ignore
def to_dict(self) -> Dict[str, str]:
def to_dict(self) -> WelcomeScreenChannelPayload:
ret = {
'channel_id': self.channel.id,
'description': self.description,