Safe Haskell | None |
---|---|
Language | Haskell2010 |
Discord.Types.Prelude
Description
Provides base types and utility functions needed for modules in Discord.Types
Documentation
Authorization token for the Discord API
formatAuth :: Auth -> ByteString Source #
Formats the token for use with the REST API
A unique integer identifier. Can be used to calculate the creation date of an entity.
creationDate :: Snowflake -> UTCTime Source #
Gets a creation date from a snowflake.