blob: be9300ac3998c5434a89f772ee1f4879dac94ef7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
open Async
include module type of Guild_t
include S.GuildImpl with
type t := Guild_t.t
(** Get a channel belonging to this guild. This does not make an HTTP request. *)
val get_channel : id:Channel_id_t.t -> t -> Channel_t.t Deferred.Or_error.t
(** Get a member belonging to this guild. This does not make an HTTP request. *)
val get_member : id:User_id_t.t -> t -> Member_t.t Deferred.Or_error.t
(** Get a role belonging to this guild. This does not make an HTTP request. *)
val get_role : id:Role_id.t -> t -> Role_t.t option
|