Update discord/welcome_screen.py

This commit is contained in:
Nadir Chowdhury
2021-04-19 01:56:57 +01:00
committed by Arthur Jovart
parent 8be28fdb96
commit bf43cff621

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,