-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.rb
42 lines (39 loc) · 892 Bytes
/
app.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Gem deps
require 'cinch'
# Include plugins
plugins_dir = File.dirname(__FILE__) + '/plugins/'
require plugins_dir + 'JoinQuit'
require plugins_dir + 'Games'
require plugins_dir + 'Google'
require plugins_dir + 'Mdn'
require plugins_dir + 'Fact'
require plugins_dir + 'Github'
require plugins_dir + 'Reddit'
require plugins_dir + 'Alert'
require plugins_dir + 'Other'
require plugins_dir + 'Doc'
require plugins_dir + 'TwitterPlugins'
bot = Cinch::Bot.new do
configure do |c|
c.encoding = 'utf-8'
c.server = "irc.freenode.org"
c.nick = "ayouken"
c.user = "ayouken"
c.channels = ['#webdevesgi']
c.plugins.plugins = [
JoinQuit,
Games,
Google,
Mdn,
Fact,
Github,
RedditGif,
Alert,
Other,
Doc,
TwitterScrap,
TwitterHashTag
]
end
end
bot.start