Closed yael16yo closed 2 years ago
i'm not using printf, this is an old screen, but i use echo like i did for id. The problem is getAvatar
This library only provides OAuth setup. It doesn't directly support any of the rest of the Discord API.
If you want to roll your own interface, the best starting place is https://discord.com/developers/docs/reference , and specifically:
If you want to use a PHP library that has built in support for these types of things, try https://github.com/discord-php/DiscordPHP .
I'd like to pin up user's avatar, and i tried to get this avatar by this code line :
see file![discord avatar](https://user-images.githubusercontent.com/75533817/147774145-63eb4c3e-8ae3-43d1-8ba2-7fbef64b03df.PNG)
$user->getId() actually works, but avatar doesn't, do you have any id about how i could get this ?