This repository was archived by the owner on Feb 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdozorce.rb
65 lines (58 loc) · 1.59 KB
/
dozorce.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
require 'cinch'
Dir["./plugins/*.rb"].each { |file| require_relative file }
Dir["./plugins/*/plugin.rb"].each { |file| require_relative file }
bot = Cinch::Bot.new do
configure do |c|
c.nick = 'DoziARM'
c.user = 'dozorce'
c.server = "irc.rizon.net"
c.channels = ['#soulwell']
c.encoding = 'UTF-8'
c.plugins.plugins = [
Bash,
Calculator::Plugin,
Catcore::Plugin,
Csfd,
Google,
Help,
Rejoin,
Rss,
Sed,
Spotify,
Title,
Track,
Translator,
Twitter,
Weather,
Wiki,
Youtube::Plugin]
c.plugins.prefix = ''
end
end
Track.configure do |c|
c.users = {
:Audio => 119558,
:Frca => 65159,
:Hate => 256535,
:Chaythere=> 122253,
:reeshack => 95093,
:Tassoid => 365840,
}
c.api_url = 'http://csfdapi.cz/'
end
Csfd.configure do |c|
c.api_url = 'http://csfdapi.cz/'
end
Rss.configure do |c|
c.feeds = {
:adt => 'https://sites.google.com/a/android.com/tools/recent/posts.xml',
:AndroidDeals => 'http://www.androidpolice.com/topics/deals-2/feed/',
:dozorce => 'https://github.com/Audio/dozorce/commits/master.atom',
:Lorris => 'https://github.com/Tasssadar/Lorris/commits/master.atom',
:LorrisMobile => 'https://github.com/Tasssadar/lorris_mobile/commits/master.atom',
:Steam => 'http://www.rssitfor.me/getrss?name=steam_games',
:Wine => 'https://www.winehq.org/news/rss/'
}
end
bot.loggers.level = :warn
bot.start