dannyhpy / brawlstars-nodejs

API Wrapper for BrawlStars for Node.js
Apache License 2.0
9 stars 7 forks source link

Added Player Icon (use Brawlify CDN) #8

Closed noowz closed 3 years ago

noowz commented 3 years ago

e.g. using discord.js

embed.setThumbnail(`https://cdn.brawlify.com/profile/${player.icon}.png`);
noowz commented 3 years ago

@dannyhpy @wDiogolo

dannyhpy commented 3 years ago

I'm not sure if Brawlify would be okay if we scrap their API out of nowhere? :thinking:

EDIT: Nevermind, I thought you were using the CDN in the actual code which is not the case.

noowz commented 3 years ago

I'm not sure if Brawlify would be okay if we scrap their API out of nowhere?

EDIT: Nevermind, I thought you were using the CDN in the actual code which is not the case.

Will you add it?

dannyhpy commented 3 years ago

Added in https://github.com/dannyhpy/brawlstars-nodejs/commit/1c59d50c1e904b8301b40a449f0d05ca52d3bd45