diff options
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/config/config.exs b/config/config.exs index b306b79..c8234ff 100644 --- a/config/config.exs +++ b/config/config.exs @@ -30,23 +30,26 @@ config :logger, :console, config :mime, :types, %{"text/event-stream" => ["sse"]} config :lsg, :irc, + name: "irc bot", handlers: [ - LSG.IRC.BaseHandler, LSG.IRC.AdminHandler, - LSG.IRC.BroadcastHandler, - LSG.IRC.NpHandler, - LSG.IRC.TxtHandler, - LSG.IRC.KickRouletteHandler, - LSG.IRC.LastFmHandler, - LSG.IRC.YouTubeHandler, - LSG.IRC.WikipediaHandler, - LSG.IRC.DiceHandler, - LSG.IRC.CalcHandler, + #LSG.IRC.BroadcastHandler, + #LSG.IRC.NpHandler, ], plugins: [ + LSG.IRC.BasePlugin, + LSG.IRC.TxtPlugin, LSG.IRC.CalcPlugin, + LSG.IRC.DicePlugin, + LSG.IRC.YouTubePlugin, LSG.IRC.WikipediaPlugin, + LSG.IRC.KickRoulettePlugin, + LSG.IRC.AlcoolismePlugin, LSG.IRC.QuatreCentVingtPlugin, + LSG.IRC.LastFmPlugin, + LSG.IRC.LinkPlugin, + LSG.IRC.OutlinePlugin, + LSG.IRC.StocksPlugin ] #admins: [ # # Format is {nick, user, host}. :_ for any value. @@ -66,6 +69,7 @@ config :lsg, LSG.IRC.LastFmHandler, 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" |