<%= Keyword.get(Application.get_env(:lsg, :irc), :name, "ircbot") %>

<% list = for {identifier, _} <- @commands do %> <% name = String.replace(identifier, "_", " ") %> <%= link(name, to: "##{identifier}") #raw("#{name}") %> <% end %> <%= Enum.intersperse(list, " - ") %>

<%= for {identifier, help} <- @commands do %> <%= if help do %>
<%= help |> Earmark.as_html! |> raw() %>
<% end %> <% end %>



Légende:
entre < >: argument obligatoire,
entre [ ]: argument optionel; [1 | ]: argument optionel avec valeur par défaut.




source: git.yt/115ans/sys