Safe Haskell | None |
---|---|
Language | Haskell2010 |
Guild endpoints
Documentation
data GuildRequest a where Source #
Instances
Request (GuildRequest a) Source # | |
Defined in Calamity.HTTP.Guild type Result (GuildRequest a) Source # route :: GuildRequest a -> Route Source # action :: GuildRequest a -> Options -> String -> IO (Response ByteString) Source # invoke :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, FromJSON (Result (GuildRequest a))) => GuildRequest a -> Sem r (Either RestError (Result (GuildRequest a))) Source # | |
type Result (GuildRequest a) Source # | |
Defined in Calamity.HTTP.Guild |
data CreateGuildData Source #
Instances
data ModifyGuildData Source #
ModifyGuildData | |
|
Instances
data ChannelCreateData Source #
Instances
data ChannelPosition Source #
Instances
data ListMembersOptions Source #
Instances
Show ListMembersOptions Source # | |
Defined in Calamity.HTTP.Guild showsPrec :: Int -> ListMembersOptions -> ShowS # show :: ListMembersOptions -> String # showList :: [ListMembersOptions] -> ShowS # | |
Generic ListMembersOptions Source # | |
Defined in Calamity.HTTP.Guild type Rep ListMembersOptions :: Type -> Type # from :: ListMembersOptions -> Rep ListMembersOptions x # to :: Rep ListMembersOptions x -> ListMembersOptions # | |
Default ListMembersOptions Source # | |
Defined in Calamity.HTTP.Guild | |
type Rep ListMembersOptions Source # | |
Defined in Calamity.HTTP.Guild type Rep ListMembersOptions = D1 ('MetaData "ListMembersOptions" "Calamity.HTTP.Guild" "calamity-0.1.13.0-inplace" 'False) (C1 ('MetaCons "ListMembersOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "after") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Snowflake User))))) |
data AddGuildMemberData Source #
Instances
data ModifyGuildMemberData Source #
Instances
data CreateGuildBanData Source #
Instances
Show CreateGuildBanData Source # | |
Defined in Calamity.HTTP.Guild showsPrec :: Int -> CreateGuildBanData -> ShowS # show :: CreateGuildBanData -> String # showList :: [CreateGuildBanData] -> ShowS # | |
Generic CreateGuildBanData Source # | |
Defined in Calamity.HTTP.Guild type Rep CreateGuildBanData :: Type -> Type # from :: CreateGuildBanData -> Rep CreateGuildBanData x # to :: Rep CreateGuildBanData x -> CreateGuildBanData # | |
Default CreateGuildBanData Source # | |
Defined in Calamity.HTTP.Guild | |
type Rep CreateGuildBanData Source # | |
Defined in Calamity.HTTP.Guild type Rep CreateGuildBanData = D1 ('MetaData "CreateGuildBanData" "Calamity.HTTP.Guild" "calamity-0.1.13.0-inplace" 'False) (C1 ('MetaCons "CreateGuildBanData" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteMessageDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) |
data ModifyGuildRoleData Source #
ModifyGuildRoleData | |
|
Instances
data ModifyGuildRolePositionsData Source #