calamity-0.3.0.0: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Token

Description

Discord tokens

Documentation

data Token Source #

Constructors

BotToken Text 
UserToken Text 

Instances

Instances details
Show Token Source # 
Instance details

Defined in Calamity.Types.Token

Methods

showsPrec :: Int -> Token -> ShowS #

show :: Token -> String #

showList :: [Token] -> ShowS #

Generic Token Source # 
Instance details

Defined in Calamity.Types.Token

Associated Types

type Rep Token :: Type -> Type #

Methods

from :: Token -> Rep Token x #

to :: Rep Token x -> Token #

TextShow Token Source # 
Instance details

Defined in Calamity.Types.Token

type Rep Token Source # 
Instance details

Defined in Calamity.Types.Token

type Rep Token = D1 ('MetaData "Token" "Calamity.Types.Token" "calamity-0.3.0.0-inplace" 'False) (C1 ('MetaCons "BotToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "UserToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))