Safe Haskell | None |
---|---|
Language | Haskell2010 |
Audit Log endpoints
Documentation
data AuditLogRequest a where Source #
GetAuditLog :: HasID Guild g => g -> AuditLogRequest AuditLog |
Instances
Request (AuditLogRequest a) Source # | |
Defined in Calamity.HTTP.AuditLog type Result (AuditLogRequest a) Source # route :: AuditLogRequest a -> Route Source # action :: AuditLogRequest a -> Options -> String -> IO (Response ByteString) Source # invoke :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, FromJSON (Result (AuditLogRequest a))) => AuditLogRequest a -> Sem r (Either RestError (Result (AuditLogRequest a))) Source # | |
type Result (AuditLogRequest a) Source # | |
Defined in Calamity.HTTP.AuditLog |
data GetAuditLogOptions Source #
GetAuditLogOptions | |
|