Discord Elixir v1.1.18 DiscordEx.RestClient View Source
Discord RestClient. Used a GenServer so that you can have multiple clients in one application.
Link to this section Summary
Types
Response body with related options
Functions
Start process and HTTP Client. {:ok, conn} = DiscordEx.RestClient.start_link(%{token: token})
Link to this section Types
Response body with related options
Link to this section Functions
Link to this function
resource(connection, method, path, payload \\ nil)
View Source
resource(pid(), atom(), String.t(), map()) :: request_reply()
Start process and HTTP Client. {:ok, conn} = DiscordEx.RestClient.start_link(%{token: token})