# LSG ## What * Provides a small API on top of Icecast status page ## Development To start your Phoenix server: * Install dependencies with `mix deps.get` * Start Phoenix endpoint with `mix phx.server` Now you can visit [`localhost:4000`](http://localhost:4000) from your browser. Ready to run in production? Please [check our deployment guides](http://www.phoenixframework.org/docs/deployment). ## Production Build a release using `MIX_ENV=prod mix release`. # bot ## ideas * rate limiting only allow x/messages per x/period ignore user for exponential values notice user "Enhance Your Calm!" * duck games with mendiant taxe radio * markov txt * markov par txt * markov global * log to dets * !seen * !grab * 420 counter * kick roulette * counts ("won" and "lost") * !kickrandom (+ counts) * ? * partyline en pv * partyline! pour join la PL * parler en query <=> broadcast a tout les personnes qui ont "partyline!" * account/admin auth by password? (hosts are not always stable) * reminder * admin: /msg bot bsay message => broadcast message to channels * admin: /msg bot say #channel message => message to #channel 21:13:35.202 [error] GenServer #PID<0.18734.0> terminating ** (BadMapError) expected a map, got: nil (elixir) lib/map.ex:424: Map.get(nil, "Content Type:", false) (lsg) lib/lsg/icecast.ex:66: LSG.Icecast.update_stats/1 (lsg) lib/lsg/icecast.ex:29: LSG.Icecast.poll/1 (lsg) lib/lsg/icecast.ex:16: LSG.Icecast.handle_cast/2 (stdlib) gen_server.erl:616: :gen_server.try_dispatch/4 (stdlib) gen_server.erl:686: :gen_server.handle_msg/6 (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3 Last message: {:"$gen_cast", :poll}