Closed nahtnam closed 8 years ago
Hey!
Im having trouble getting started with this library.
I created /lib/discord_ex/exbot.ex with the contents of the echobot example. Then in my main lib file, inside def start(_type, _args) do I put the following:
/lib/discord_ex/exbot.ex
def start(_type, _args) do
{:ok, bot_client } = DiscordEx.Client.start_link(%{ token: "TOKEN_GOES_HERE", handler: Exbot })
The app starts but then immediately shuts down.
Hey!
Im having trouble getting started with this library.
I created
/lib/discord_ex/exbot.ex
with the contents of the echobot example. Then in my main lib file, insidedef start(_type, _args) do
I put the following:The app starts but then immediately shuts down.