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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45dcf6ff7c764cda796f9048dde0184423bab3f0a45b6bd3d58341876435d6bc
4
- data.tar.gz: f8e192337a8247a1fde818d5b1d53922d350734708ecaa0e1cf36865d1b3caff
3
+ metadata.gz: 4ac8fe73d3dd003dd07f87fdfcbdafd11641af03cbebacb1181b3fa0f579bc45
4
+ data.tar.gz: e8a954d514218d8817ee9f2c6dbebf081e6d2e6138c20c953d086db2f3ed8297
5
5
  SHA512:
6
- metadata.gz: 0db6a8a62cbc130860904b63d169b4942b5264643fa507ee566dd3abddee682b1182b920eb1a06c83b044edebf5879cc88587dd94c1b520b5a9054608c072647
7
- data.tar.gz: 62de3a2ef18d87b20c4804e9c311663d043b6c32d9aa9209ef63a94fa870cc1a589b27027613e44f319cf4ed1e1de8dc76a980cf0bcc1cc433c306454cb440fc
6
+ metadata.gz: 562a7b2393565703a390938a2da2468af526cb239349472eaa93f69f31d6d00d1a5eb6f389cb949e181615ce56786d96fe96d220acc60d10cc1afffa9401ca86
7
+ data.tar.gz: 7f8e88bf439e2d8faeea68440549ea09e0519e4607ff2899d5c7ae5deff6d9bd29ede1dae0c55d219966518ffcdf25f2c71adf9ea992ac54c7e68838366fc273
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.3.6
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.6
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-10 00:00:00.000000000 Z
11
+ date: 2020-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: discordrb