mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 08:35:53 +00:00
Initial support for pomelo migration
This commit is contained in:
@ -1301,7 +1301,13 @@ class Webhook(BaseWebhook):
|
||||
'name': name,
|
||||
'channel_id': channel.id,
|
||||
'guild_id': channel.guild.id,
|
||||
'user': {'username': user.name, 'discriminator': user.discriminator, 'id': user.id, 'avatar': user._avatar},
|
||||
'user': {
|
||||
'username': user.name,
|
||||
'discriminator': user.discriminator,
|
||||
'global_name': user.global_name,
|
||||
'id': user.id,
|
||||
'avatar': user._avatar,
|
||||
},
|
||||
}
|
||||
|
||||
state = channel._state
|
||||
|
Reference in New Issue
Block a user