This is my entry for the fukuoka.ex Elixir/Phoenix Advent Calendar 2019 day 13, and it's a guide for how to write a Line bot using Elixir. 🧪🤖🧪
-
First you need to create a Messaging API Channel on the Line Developers Console. You will also need to add your bot as a friend, and know the generated Channel ID and Channel Secret.
-
Create a new Elixir app with a supervision tree:
mix new advent --sup
-
cd advent
-
If you want to use git, now we can create a repository (optional):