beerbot 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/RunIRC.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b63fcda572d39a2ff6d91a9c9d8f44cc188e5e01
|
|
4
|
+
data.tar.gz: 2b9a1a096feac44e1f8866273c067e860b0786be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ade4864380a1c71ba8309e104dd5d54b1a2acfca192819ee0b9e92ddc992fc88cd477786111f8e9f254c84a1994d8a43ff889afd510e004bd257286a35ceef22
|
|
7
|
+
data.tar.gz: 5d3c3c99e58ce189b476d4d308688884427af2889d98cb5f1f4fac1427c09dd2f42fff7fdd79ba3432fa82639397c8ad3962dd5349822dfe4ff492fa709a2d77
|
data/lib/RunIRC.rb
CHANGED
|
@@ -48,6 +48,10 @@ class BeerBot::RunIRC
|
|
|
48
48
|
# Create the bot.
|
|
49
49
|
@bot = Bot.new(@module_path,config['modules'])
|
|
50
50
|
|
|
51
|
+
# Create a world associated with this irc connection.
|
|
52
|
+
# (lists channels and users we know about)
|
|
53
|
+
@world = IRCWorld.new(config['nick'])
|
|
54
|
+
|
|
51
55
|
# Dispatcher which receives messages and interacts with the bot.
|
|
52
56
|
@dispatcher = IRCDispatcher.new(
|
|
53
57
|
@bot,
|
|
@@ -58,9 +62,6 @@ class BeerBot::RunIRC
|
|
|
58
62
|
|
|
59
63
|
# Set up scheduler (this doesn't start it yet)...
|
|
60
64
|
@scheduler = Scheduler.instance(config['timezone'])
|
|
61
|
-
# Create a world associated with this irc connection.
|
|
62
|
-
# (lists channels and users we know about)
|
|
63
|
-
@world = IRCWorld.new(config['nick'])
|
|
64
65
|
|
|
65
66
|
# Create but don't open the irc connection.
|
|
66
67
|
@conn = IRCConnection.new(
|