diff options
author | href <href@random.sh> | 2018-02-10 21:40:22 +0100 |
---|---|---|
committer | href <href@random.sh> | 2018-02-10 21:40:22 +0100 |
commit | 935a36eecc0faea60236101e11bc9f7cf1872686 (patch) | |
tree | b7b4358dee2eb3fc60681852f62c750ae8c05cb9 /config/config.exs | |
parent | sse / embedded player (diff) |
update
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index c2c07be..8933545 100644 --- a/config/config.exs +++ b/config/config.exs @@ -25,6 +25,30 @@ config :logger, :console, config :mime, :types, %{"text/event-stream" => ["sse"]} +config :lsg, :irc, + handlers: [ + LSG.IRC.BroadcastHandler, + LSG.IRC.NpHandler, + LSG.IRC.TxtHandler, + LSG.IRC.LastFmHandler, + LSG.IRC.YouTubeHandler, + LSG.IRC.DiceHandler, + ], + admins: [ + # Format is {nick, user, host}. :_ for any value. + ] + +config :lsg, LSG.IRC.TxtHandler, directory: "priv/irc.txt/" + +config :lsg, LSG.IRC.LastFmHandler, + dets_path: 'priv/lastfm.dets', + api_key: "x", + api_secret: "x" + +config :lsg, LSG.IRC.YouTubeHandler, + api_key: "x" + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env}.exs" +import_config "secret.exs" |