mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
misc: Remove Clyde (#2764)
* Remove Clyde * Remove Clyde avatar overwrite * Remove Clyde from the user pattern
This commit is contained in:
@@ -124,7 +124,6 @@ exports.Endpoints = {
|
||||
Asset: name => `${root}/assets/${name}`,
|
||||
DefaultAvatar: number => `${root}/embed/avatars/${number}.png`,
|
||||
Avatar: (userID, hash, format = 'default', size) => {
|
||||
if (userID === '1') return hash;
|
||||
if (format === 'default') format = hash.startsWith('a_') ? 'gif' : 'webp';
|
||||
return makeImageUrl(`${root}/avatars/${userID}/${hash}`, { format, size });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user