openra-irc_bot 0.1.1 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 906ca77729ffe957a4b33cc8c115c995296cf6f74f86b9cfe0a31acf15ae3081
4
- data.tar.gz: c366e77ba7d948dc1a44aa20648fc99d1b03ad11bc0ed9ceee6f80bc31c0f7a0
3
+ metadata.gz: 05326b73bb85e602b41eef71bdd825b549fdb4d9b3fe90a9be8329bd87064063
4
+ data.tar.gz: 64415db9a9b7018267eef49e872011e109d2817892b7ef9495edccab579669ae
5
5
  SHA512:
6
- metadata.gz: 672345f6c3ebdede44fe4868f6fecfa8cfc7908a1782d3d20185cd62276e83f3db27a5c1811a25d9418e808d624f87d8526afd5569f01c754f70fa8efd626249
7
- data.tar.gz: 1b9655e909001249104c719065ba89c5054718a523bd2a8fb53bd5ce8f9a74ded4157dc6dc286aaf1cf069e2637a7b284a41ef5ad12ba3ddf343e3fe03db6c59
6
+ metadata.gz: 3aa7eb8ca6cd2229634f0d5d2623281f13539da6aca9a5e5f90d1b2c1f5fdbcf017e3e0cc60faa45a1149eac9bc08946aa6da11783612039a1540c49bed682f9
7
+ data.tar.gz: 373262dc3e60972d7749c4c6aeed4da60441152c817debb1fce47fcdcb4c576e36064b4f8cee79d7cdfd7581726bb0dcc8018d1a2d53f3e7d569a2a0b84ae8dd
data/README.md CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  IRC bot for OpenRA, supported commands:
4
4
 
5
+ * `!fiveaces` => Hey hey people, FiveAces here! - `Openra::IRCBot::Plugins::FiveAces`
6
+ * `!orb` => I'm not playing this map, it's imbalanced! - `Openra::IRCBot::Plugins::FiveAces`
5
7
  * `!.1` => Generate a random excuse - `Openra::IRCBot::Plugins::PointOne`
8
+ * `!soscared` => rarararararara - `Openra::IRCBot::Plugins::SoScared`
6
9
 
7
10
  Example usage:
8
11
 
@@ -16,7 +19,10 @@ bot = Openra::IRCBot.new do
16
19
  config.server = 'irc.freenode.org'
17
20
  config.channels = ['#oratest']
18
21
  config.plugins.plugins = [
19
- Openra::IRCBot::Plugins::PointOne
22
+ Openra::IRCBot::Plugins::FiveAces,
23
+ Openra::IRCBot::Plugins::Orb,
24
+ Openra::IRCBot::Plugins::PointOne,
25
+ Openra::IRCBot::Plugins::SoScared
20
26
  ]
21
27
  end
22
28
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.2.0
@@ -3,12 +3,19 @@ en:
3
3
  nouns:
4
4
  - dog
5
5
  - cat
6
+ - goldfish
7
+ - mentally deficient hamster
8
+ - bearded grandma
9
+ - Grindr date
6
10
  - imaginary girlfriend
7
11
  - penis
8
12
  - bitch boss
9
13
  verbs:
10
14
  - dying
11
15
  - on fire
16
+ - molesting me
17
+ - trying to kill me
18
+ - trying to eat me
12
19
  - annoying me
13
20
  - demanding sex
14
21
  - throwing up
@@ -0,0 +1,15 @@
1
+ module Openra
2
+ class IRCBot < Cinch::Bot
3
+ module Plugins
4
+ class FiveAces
5
+ include Cinch::Plugin
6
+
7
+ match 'fiveaces'
8
+
9
+ def execute(m)
10
+ m.reply 'Hey hey people, FiveAces here!'
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ module Openra
2
+ class IRCBot < Cinch::Bot
3
+ module Plugins
4
+ class Orb
5
+ include Cinch::Plugin
6
+
7
+ match 'orb'
8
+
9
+ def execute(m)
10
+ m.reply "I'm not playing this map, it's imbalanced!"
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,15 @@
1
+ module Openra
2
+ class IRCBot < Cinch::Bot
3
+ module Plugins
4
+ class SoScared
5
+ include Cinch::Plugin
6
+
7
+ match 'soscared'
8
+
9
+ def execute(m)
10
+ m.reply 'rarararararara'
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1 +1,4 @@
1
+ require 'openra/irc_bot/plugins/five_aces'
2
+ require 'openra/irc_bot/plugins/orb'
1
3
  require 'openra/irc_bot/plugins/point_one'
4
+ require 'openra/irc_bot/plugins/so_scared'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openra-irc_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenRA Community
@@ -98,7 +98,10 @@ files:
98
98
  - lib/openra/irc_bot.rb
99
99
  - lib/openra/irc_bot/dictionary.rb
100
100
  - lib/openra/irc_bot/plugins.rb
101
+ - lib/openra/irc_bot/plugins/five_aces.rb
102
+ - lib/openra/irc_bot/plugins/orb.rb
101
103
  - lib/openra/irc_bot/plugins/point_one.rb
104
+ - lib/openra/irc_bot/plugins/so_scared.rb
102
105
  - lib/openra/irc_bot/version.rb
103
106
  - openra-irc_bot.gemspec
104
107
  homepage: https://github.com/openra-community/openra-irc_bot