3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-11 04:57:19 +00:00

feat: per-server avatars & username fixes

This commit is contained in:
rubyowo 2023-07-03 16:46:54 +04:00
parent 5a4e50b19d
commit b5c12770dc
No known key found for this signature in database
11 changed files with 37 additions and 23 deletions

View file

@ -48,7 +48,7 @@ export async function sendMessage(
...content,
...(pluginData.client.user && {
username: pluginData.client.user.username,
avatarURL: pluginData.client.user.avatarURL() || pluginData.client.user.defaultAvatarURL,
avatarURL: pluginData.client.user.displayAvatarURL(),
}),
})
.then((apiMessage) => ({