Update discord/welcome_screen.py

This commit is contained in:
Nadir Chowdhury
2021-09-01 20:20:41 +02:00
committed by Arthur Jovart
parent 8be28fdb96
commit bf43cff621
+1 -1
View File
@@ -87,7 +87,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) -> Dict[str, str]: def to_dict(self) -> WelcomeScreenChannelPayload:
ret = { ret = {
'channel_id': self.channel.id, 'channel_id': self.channel.id,
'description': self.description, 'description': self.description,