marvin

A simple and modular IRC bot

git clone https://git.8pit.net/marvin.git

 1// This program is free software: you can redistribute it and/or modify
 2// it under the terms of the GNU Affero General Public License as
 3// published by the Free Software Foundation, either version 3 of the
 4// License, or (at your option) any later version.
 5//
 6// This program is distributed in the hope that it will be useful, but
 7// WITHOUT ANY WARRANTY; without even the implied warranty of
 8// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 9// Affero General Public License for more details.
10//
11// You should have received a copy of the GNU Affero General Public
12// License along with this program. If not, see <http://www.gnu.org/licenses/>.
13
14package main
15
16import (
17	"github.com/nmeum/marvin/modules"
18	"github.com/nmeum/marvin/modules/feed"
19	"github.com/nmeum/marvin/modules/nickserv"
20	"github.com/nmeum/marvin/modules/rejoin"
21	"github.com/nmeum/marvin/modules/remind"
22	"github.com/nmeum/marvin/modules/time"
23	"github.com/nmeum/marvin/modules/twitter"
24	"github.com/nmeum/marvin/modules/url"
25)
26
27type moduleInit func(*modules.ModuleSet)
28
29var moduleInits = []moduleInit{
30	nickserv.Init,
31	twitter.Init,
32	rejoin.Init,
33	remind.Init,
34	time.Init,
35	feed.Init,
36	url.Init,
37}