help for discord sdk

there is Fetching a channel using the SDK on discord dev docs i was just using that code but then channel or avatar is not working for me
image.png
Was this page helpful?