summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-02-10 21:40:22 +0100
committerhref <href@random.sh>2018-02-10 21:40:22 +0100
commit935a36eecc0faea60236101e11bc9f7cf1872686 (patch)
treeb7b4358dee2eb3fc60681852f62c750ae8c05cb9 /config/config.exs
parentsse / embedded player (diff)
update
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs24
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"