calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.Utils.CDNUrl

Description

CDN url stuff

Synopsis

Documentation

cdnURL :: Url 'Https Source #

The CDN URL

assetHashFile :: Text -> Text Source #

Generate 'hash.ext' for an asset hash. ext will be 'gif' for animated assets, 'png' otherwise.

isGIFAsset :: Text -> Bool Source #

Test if an asset hash is animated