mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Initial support for pomelo migration
This commit is contained in:
1 parent
66689e16e8
commit
df01db3490
11 files changed
+93
-80
No files matched your search
@@ -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