Fix copy paste error in ClientUser.edit_settings

This commit is contained in:
Rapptz 2019-04-06 20:19:16 -04:00
parent 9248ff306c
commit 7d385b23a1

View File

@ -557,7 +557,7 @@ class ClientUser(BaseUser):
restricted_guilds = kwargs.pop('restricted_guilds', None)
if restricted_guilds:
restricted_guilds = [str(x.id) for x in guild_positions]
restricted_guilds = [str(x.id) for x in restricted_guilds]
payload.update({'restricted_guilds': restricted_guilds})
status = kwargs.pop('status', None)