discordrb 1.5.4 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of discordrb might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.rubocop.yml +11 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +27 -0
- data/README.md +4 -0
- data/discordrb.gemspec +2 -0
- data/lib/discordrb.rb +17 -0
- data/lib/discordrb/api.rb +57 -31
- data/lib/discordrb/await.rb +2 -1
- data/lib/discordrb/bot.rb +125 -49
- data/lib/discordrb/commands/command_bot.rb +7 -2
- data/lib/discordrb/commands/parser.rb +2 -0
- data/lib/discordrb/data.rb +471 -112
- data/lib/discordrb/events/bans.rb +54 -0
- data/lib/discordrb/events/channel_create.rb +10 -10
- data/lib/discordrb/events/channel_delete.rb +10 -10
- data/lib/discordrb/events/channel_update.rb +10 -10
- data/lib/discordrb/events/guild_role_create.rb +5 -5
- data/lib/discordrb/events/guild_role_delete.rb +5 -5
- data/lib/discordrb/events/guild_role_update.rb +5 -5
- data/lib/discordrb/events/guilds.rb +7 -8
- data/lib/discordrb/events/members.rb +5 -5
- data/lib/discordrb/events/message.rb +48 -0
- data/lib/discordrb/events/presence.rb +25 -29
- data/lib/discordrb/events/typing.rb +7 -7
- data/lib/discordrb/events/voice_state_update.rb +34 -34
- data/lib/discordrb/permissions.rb +1 -1
- data/lib/discordrb/token_cache.rb +2 -3
- data/lib/discordrb/version.rb +2 -1
- data/lib/discordrb/voice/encoder.rb +32 -2
- data/lib/discordrb/voice/network.rb +87 -11
- data/lib/discordrb/voice/voice_bot.rb +77 -20
- metadata +33 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discordrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- meew0
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01
|
11
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faye-websocket
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rbnacl-libsodium
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: bundler
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +122,20 @@ dependencies:
|
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '10.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: yard
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.8.7.6
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.8.7.6
|
111
139
|
description: A Ruby implementation of the Discord (https://discordapp.com) API.
|
112
140
|
email:
|
113
141
|
- ''
|
@@ -140,6 +168,7 @@ files:
|
|
140
168
|
- lib/discordrb/commands/parser.rb
|
141
169
|
- lib/discordrb/data.rb
|
142
170
|
- lib/discordrb/events/await.rb
|
171
|
+
- lib/discordrb/events/bans.rb
|
143
172
|
- lib/discordrb/events/channel_create.rb
|
144
173
|
- lib/discordrb/events/channel_delete.rb
|
145
174
|
- lib/discordrb/events/channel_update.rb
|
@@ -182,8 +211,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
211
|
version: '0'
|
183
212
|
requirements: []
|
184
213
|
rubyforge_project:
|
185
|
-
rubygems_version: 2.
|
214
|
+
rubygems_version: 2.5.1
|
186
215
|
signing_key:
|
187
216
|
specification_version: 4
|
188
217
|
summary: Discord API for Ruby
|
189
218
|
test_files: []
|
219
|
+
has_rdoc:
|