Module discord_bot_light_sup

Behaviours: supervisor.

Function Index

init/1Initialize supervisor with child specifications.
start_link/1Start supervisor with just token (no command handler).
start_link/2Start supervisor with token and options for command handler Options are passed directly to the discord_bot_light_client.

Function Details

init/1

init(X1) -> any()

Initialize supervisor with child specifications

start_link/1

start_link(Token::binary() | string()) -> {ok, pid()} | {error, term()}

Start supervisor with just token (no command handler)

start_link/2

start_link(Token::binary() | string(), Options::list()) -> {ok, pid()} | {error, term()}

Start supervisor with token and options for command handler Options are passed directly to the discord_bot_light_client


Generated by EDoc