openra-irc_bot 0.3.0 → 0.4.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 +4 -4
- data/README.md +52 -5
- data/VERSION +1 -1
- data/lib/openra/irc_bot/plugins.rb +5 -0
- data/lib/openra/irc_bot/plugins/eskimo.rb +15 -0
- data/lib/openra/irc_bot/plugins/gatekeeper.rb +15 -0
- data/lib/openra/irc_bot/plugins/happy.rb +15 -0
- data/lib/openra/irc_bot/plugins/na.rb +18 -0
- data/lib/openra/irc_bot/plugins/talix.rb +15 -0
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82decd60c926a21972bdf6de183571ab4d50af27cc8e67be5bfcc7341e648e90
|
4
|
+
data.tar.gz: 5f6c4684d53a16877d2f699a66d387715a03a627f91ddfab85b99e90d90d4b41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7efeb896a9e6d64e2ede34c26f21b2c21523f9bdb087a7aba4d09afbc51a155e29c3eb68d1fcbf3b7983b50791d188a03cc6ee8089f3729dd6a3213b885cd872
|
7
|
+
data.tar.gz: a0ce29cbc9b613483d92f48110adf6749f7118ff7081b73242a2ba258b9e0d5224591f261dc44fb9934ee2ee51b9115ae3c5a027f8eebbacf56d9f70c7bfd337
|
data/README.md
CHANGED
@@ -2,10 +2,52 @@
|
|
2
2
|
|
3
3
|
IRC bot for OpenRA, supported commands:
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
#### `!eskimo` - `Openra::IRCBot::Plugins::Eskimo`
|
6
|
+
```
|
7
|
+
Yeh nah gg... lol, jk, I win!
|
8
|
+
```
|
9
|
+
|
10
|
+
#### `!fiveaces` - `Openra::IRCBot::Plugins::FiveAces`
|
11
|
+
```
|
12
|
+
Hey hey people, FiveAces here!
|
13
|
+
```
|
14
|
+
|
15
|
+
#### `!gatekeeper` - `Openra::IRCBot::Plugins::Gatekeeper`
|
16
|
+
```
|
17
|
+
Yeh nah gg
|
18
|
+
```
|
19
|
+
|
20
|
+
#### `!happy` - `Openra::IRCBot::Plugins::Happy`
|
21
|
+
```
|
22
|
+
I would like to delay my RAGL games infinitely
|
23
|
+
```
|
24
|
+
|
25
|
+
#### `!n/a` - `Openra::IRCBot::Plugins::Na`
|
26
|
+
```
|
27
|
+
Thus, ergo, concordantly, I must declare that I have won this
|
28
|
+
argument with my rebbutal of no substance
|
29
|
+
```
|
30
|
+
|
31
|
+
#### `!orb` - `Openra::IRCBot::Plugins::Orb`
|
32
|
+
```
|
33
|
+
I'm not playing this map, it's imbalanced!
|
34
|
+
```
|
35
|
+
|
36
|
+
#### `!.1` - `Openra::IRCBot::Plugins::PointOne`
|
37
|
+
```
|
38
|
+
# Generates a random excuse, i.e.
|
39
|
+
Gotta go, my pocket anaconda is being held at gunpoint by Kim Jong Un
|
40
|
+
```
|
41
|
+
|
42
|
+
#### `!soscared` - `Openra::IRCBot::Plugins::SoScared`
|
43
|
+
```
|
44
|
+
rarararararara
|
45
|
+
```
|
46
|
+
|
47
|
+
#### `!talix` - `Openra::IRCBot::Plugins::Talix`
|
48
|
+
```
|
49
|
+
RAGLHF!
|
50
|
+
```
|
9
51
|
|
10
52
|
Example usage:
|
11
53
|
|
@@ -19,10 +61,15 @@ bot = Openra::IRCBot.new do
|
|
19
61
|
config.server = 'irc.freenode.org'
|
20
62
|
config.channels = ['#oratest']
|
21
63
|
config.plugins.plugins = [
|
64
|
+
Openra::IRCBot::Plugins::Eskimo,
|
22
65
|
Openra::IRCBot::Plugins::FiveAces,
|
66
|
+
Openra::IRCBot::Plugins::Gatekeeper,
|
67
|
+
Openra::IRCBot::Plugins::Happy,
|
68
|
+
Openra::IRCBot::Plugins::Na,
|
23
69
|
Openra::IRCBot::Plugins::Orb,
|
24
70
|
Openra::IRCBot::Plugins::PointOne,
|
25
|
-
Openra::IRCBot::Plugins::SoScared
|
71
|
+
Openra::IRCBot::Plugins::SoScared,
|
72
|
+
Openra::IRCBot::Plugins::Talix
|
26
73
|
]
|
27
74
|
end
|
28
75
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
@@ -1,4 +1,9 @@
|
|
1
|
+
require 'openra/irc_bot/plugins/eskimo'
|
1
2
|
require 'openra/irc_bot/plugins/five_aces'
|
3
|
+
require 'openra/irc_bot/plugins/gatekeeper'
|
4
|
+
require 'openra/irc_bot/plugins/happy'
|
5
|
+
require 'openra/irc_bot/plugins/na'
|
2
6
|
require 'openra/irc_bot/plugins/orb'
|
3
7
|
require 'openra/irc_bot/plugins/point_one'
|
4
8
|
require 'openra/irc_bot/plugins/so_scared'
|
9
|
+
require 'openra/irc_bot/plugins/talix'
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Openra
|
2
|
+
class IRCBot < Cinch::Bot
|
3
|
+
module Plugins
|
4
|
+
class Na
|
5
|
+
include Cinch::Plugin
|
6
|
+
|
7
|
+
match 'n/a'
|
8
|
+
|
9
|
+
def execute(m)
|
10
|
+
m.reply <<-QUOTE.strip.gsub(/\s+/, ' ')
|
11
|
+
Thus, ergo, concordantly, I must declare that I have won this
|
12
|
+
argument with my rebbutal of no substance
|
13
|
+
QUOTE
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openra-irc_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenRA Community
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -98,10 +98,15 @@ 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/eskimo.rb
|
101
102
|
- lib/openra/irc_bot/plugins/five_aces.rb
|
103
|
+
- lib/openra/irc_bot/plugins/gatekeeper.rb
|
104
|
+
- lib/openra/irc_bot/plugins/happy.rb
|
105
|
+
- lib/openra/irc_bot/plugins/na.rb
|
102
106
|
- lib/openra/irc_bot/plugins/orb.rb
|
103
107
|
- lib/openra/irc_bot/plugins/point_one.rb
|
104
108
|
- lib/openra/irc_bot/plugins/so_scared.rb
|
109
|
+
- lib/openra/irc_bot/plugins/talix.rb
|
105
110
|
- lib/openra/irc_bot/version.rb
|
106
111
|
- openra-irc_bot.gemspec
|
107
112
|
homepage: https://github.com/openra-community/openra-irc_bot
|