From 935a36eecc0faea60236101e11bc9f7cf1872686 Mon Sep 17 00:00:00 2001 From: href Date: Sat, 10 Feb 2018 21:40:22 +0100 Subject: update --- config/config.exs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'config/config.exs') 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" -- cgit v1.2.3