diff options
author | href <href@random.sh> | 2020-03-11 21:18:34 +0100 |
---|---|---|
committer | href <href@random.sh> | 2020-03-11 21:18:34 +0100 |
commit | a28d24470ddeca6196219a1333c1ccac1319efef (patch) | |
tree | 4f29e3c8fb6afbb1f99d6b8737f844c95fca54df /config | |
parent | up to 420*100 (diff) |
welp
Diffstat (limited to 'config')
-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" |