Remedy.CDN (Remedy v0.6.0) View Source
Discord CDN interface.
Storing images and other assets can be painful, use this module to retreive assets from the discord cdn rather than storing them.
Each function takes the required parameters to directly access a resource.
Format
All images are returned as either a .png
or a .gif
if the asset is animated. This is done automatically.
Size
Images can be requested of a size in [16, 32, 64, 128, 256, 512, 1024, 2048, 4096]
. This is given as an optional final argument to any of the functions in this module. Arguments given will be rounded to the next largest, or the largest size if you try to go over.
Link to this section Summary
Link to this section Functions
Link to this function
achievement_icon(application_id, achievement_id, icon_hash, size \\ nil)
View Source
Link to this function