qwtf_discord_bot 5.3.6 → 5.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/qwtf_discord_bot/qwtf_discord_bot_pug.rb +4 -0
- data/lib/qwtf_discord_bot/qwtf_discord_bot_server.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ac8fe73d3dd003dd07f87fdfcbdafd11641af03cbebacb1181b3fa0f579bc45
|
4
|
+
data.tar.gz: e8a954d514218d8817ee9f2c6dbebf081e6d2e6138c20c953d086db2f3ed8297
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 562a7b2393565703a390938a2da2468af526cb239349472eaa93f69f31d6d00d1a5eb6f389cb949e181615ce56786d96fe96d220acc60d10cc1afffa9401ca86
|
7
|
+
data.tar.gz: 7f8e88bf439e2d8faeea68440549ea09e0519e4607ff2899d5c7ae5deff6d9bd29ede1dae0c55d219966518ffcdf25f2c71adf9ea992ac54c7e68838366fc273
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.3.
|
1
|
+
5.3.7
|
@@ -16,6 +16,10 @@ class QwtfDiscordBotPug # :nodoc:
|
|
16
16
|
prefix: '!'
|
17
17
|
)
|
18
18
|
|
19
|
+
bot.command :help do |event, *args|
|
20
|
+
"Pug commands: `!status`, `!join`, `!team <team_no>`, `!unteam`, `!leave`, `!kick <@player>`, `!win <team_no>`, `!draw`, `!end`, `!teamsize <no_of_players>`, `!addmap <map_name>`, `!removemap <map_name>`, `!maps`, `!map <map_name>`, `!notify <@role>`"
|
21
|
+
end
|
22
|
+
|
19
23
|
bot.command :join do |event, *args|
|
20
24
|
setup_pug(event) do |e, pug|
|
21
25
|
return send_msg("You've already joined", e.channel) if pug.joined?(e.user_id)
|
@@ -7,6 +7,10 @@ class QwtfDiscordBotServer
|
|
7
7
|
prefix: '!'
|
8
8
|
)
|
9
9
|
|
10
|
+
bot.command :help do |event, *args|
|
11
|
+
"Server commands: `!active`, `!all`, `!server <address>`"
|
12
|
+
end
|
13
|
+
|
10
14
|
bot.command :server do |event, *args|
|
11
15
|
if args.empty?
|
12
16
|
message = 'Provide a server address e.g. `!server ' \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qwtf_discord_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sheldon Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: discordrb
|