copy over the kwargs issue.
This commit is contained in:
parent
27ed72369a
commit
71b8f31507
@ -2630,6 +2630,7 @@ class Guild(Hashable):
|
||||
if not isinstance(wc, WelcomeChannel):
|
||||
raise InvalidArgument('welcome_channels parameter must be a list of WelcomeChannel')
|
||||
welcome_channels_serialised.append(wc.to_dict())
|
||||
kwargs['welcome_channels'] = welcome_channels_serialised
|
||||
|
||||
if kwargs:
|
||||
data = await self._state.http.edit_welcome_screen(self.id, kwargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user