Update discord/welcome_screen.py
This commit is contained in:
parent
8be28fdb96
commit
bf43cff621
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user