calamity-0.1.6.2: A library for writing discord bots
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.1.6.2-inplace" 'False) (C1 ('MetaCons "BotToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "UserToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))