discorb 0.5.5 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +57 -0
- data/.github/ISSUE_TEMPLATE/config.yml +8 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +38 -0
- data/.gitignore +3 -3
- data/.yardopts +1 -0
- data/Changelog.md +40 -1
- data/README.md +9 -6
- data/assets/banner.svg +125 -0
- data/docs/application_command.md +19 -19
- data/docs/cli/run.md +11 -1
- data/docs/cli/setup.md +7 -1
- data/docs/events.md +34 -0
- data/docs/extension.md +6 -6
- data/lib/discorb/{command.rb → app_command.rb} +60 -50
- data/lib/discorb/channel.rb +18 -18
- data/lib/discorb/client.rb +47 -35
- data/lib/discorb/color.rb +59 -29
- data/lib/discorb/common.rb +1 -1
- data/lib/discorb/embed.rb +12 -12
- data/lib/discorb/emoji.rb +9 -2
- data/lib/discorb/error.rb +7 -1
- data/lib/discorb/event.rb +5 -5
- data/lib/discorb/exe/run.rb +12 -0
- data/lib/discorb/exe/setup.rb +14 -1
- data/lib/discorb/extension.rb +9 -9
- data/lib/discorb/gateway.rb +40 -8
- data/lib/discorb/guild.rb +38 -38
- data/lib/discorb/http.rb +13 -11
- data/lib/discorb/intents.rb +2 -2
- data/lib/discorb/interaction.rb +3 -2
- data/lib/discorb/log.rb +16 -12
- data/lib/discorb/member.rb +3 -3
- data/lib/discorb/message.rb +8 -8
- data/lib/discorb/modules.rb +5 -5
- data/lib/discorb/user.rb +1 -1
- data/lib/discorb/webhook.rb +1 -1
- data/lib/discorb.rb +1 -1
- data/po/yard.pot +37 -37
- data/sig/discorb.rbs +7218 -0
- metadata +8 -4
- data/Gemfile.lock +0 -67
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discorb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sevenc-nanashi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -74,15 +74,18 @@ executables:
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
78
|
+
- ".github/ISSUE_TEMPLATE/config.yml"
|
79
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
77
80
|
- ".github/workflows/build_main.yml"
|
78
81
|
- ".gitignore"
|
79
82
|
- ".yardopts"
|
80
83
|
- Changelog.md
|
81
84
|
- Gemfile
|
82
|
-
- Gemfile.lock
|
83
85
|
- LICENSE.txt
|
84
86
|
- README.md
|
85
87
|
- Rakefile
|
88
|
+
- assets/banner.svg
|
86
89
|
- bin/console
|
87
90
|
- bin/setup
|
88
91
|
- crowdin.yml
|
@@ -120,13 +123,13 @@ files:
|
|
120
123
|
- examples/simple/wait_for_message.rb
|
121
124
|
- exe/discorb
|
122
125
|
- lib/discorb.rb
|
126
|
+
- lib/discorb/app_command.rb
|
123
127
|
- lib/discorb/application.rb
|
124
128
|
- lib/discorb/asset.rb
|
125
129
|
- lib/discorb/audit_logs.rb
|
126
130
|
- lib/discorb/channel.rb
|
127
131
|
- lib/discorb/client.rb
|
128
132
|
- lib/discorb/color.rb
|
129
|
-
- lib/discorb/command.rb
|
130
133
|
- lib/discorb/common.rb
|
131
134
|
- lib/discorb/components.rb
|
132
135
|
- lib/discorb/dictionary.rb
|
@@ -171,6 +174,7 @@ files:
|
|
171
174
|
- lib/discorb/voice_state.rb
|
172
175
|
- lib/discorb/webhook.rb
|
173
176
|
- po/yard.pot
|
177
|
+
- sig/discorb.rbs
|
174
178
|
- template-replace/files/css/common.css
|
175
179
|
- template-replace/resources/version_list.html
|
176
180
|
- template-replace/scripts/index.rb
|
data/Gemfile.lock
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
discorb (0.5.5)
|
5
|
-
async (~> 1.30.1)
|
6
|
-
async-http (~> 0.56.5)
|
7
|
-
async-websocket (~> 0.19.0)
|
8
|
-
mime-types (~> 3.3)
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: https://rubygems.org/
|
12
|
-
specs:
|
13
|
-
async (1.30.1)
|
14
|
-
console (~> 1.10)
|
15
|
-
nio4r (~> 2.3)
|
16
|
-
timers (~> 4.1)
|
17
|
-
async-http (0.56.5)
|
18
|
-
async (>= 1.25)
|
19
|
-
async-io (>= 1.28)
|
20
|
-
async-pool (>= 0.2)
|
21
|
-
protocol-http (~> 0.22.0)
|
22
|
-
protocol-http1 (~> 0.14.0)
|
23
|
-
protocol-http2 (~> 0.14.0)
|
24
|
-
async-io (1.32.2)
|
25
|
-
async
|
26
|
-
async-pool (0.3.8)
|
27
|
-
async (>= 1.25)
|
28
|
-
async-websocket (0.19.0)
|
29
|
-
async-http (~> 0.54)
|
30
|
-
async-io (~> 1.23)
|
31
|
-
protocol-websocket (~> 0.7.0)
|
32
|
-
console (1.13.1)
|
33
|
-
fiber-local
|
34
|
-
fiber-local (1.0.0)
|
35
|
-
mime-types (3.3.1)
|
36
|
-
mime-types-data (~> 3.2015)
|
37
|
-
mime-types-data (3.2021.0901)
|
38
|
-
nio4r (2.5.8)
|
39
|
-
protocol-hpack (1.4.2)
|
40
|
-
protocol-http (0.22.5)
|
41
|
-
protocol-http1 (0.14.2)
|
42
|
-
protocol-http (~> 0.22)
|
43
|
-
protocol-http2 (0.14.2)
|
44
|
-
protocol-hpack (~> 1.4)
|
45
|
-
protocol-http (~> 0.18)
|
46
|
-
protocol-websocket (0.7.5)
|
47
|
-
protocol-http (~> 0.2)
|
48
|
-
protocol-http1 (~> 0.2)
|
49
|
-
rake (13.0.6)
|
50
|
-
redcarpet (3.5.1)
|
51
|
-
rufo (0.13.0)
|
52
|
-
timers (4.3.3)
|
53
|
-
yard (0.9.26)
|
54
|
-
|
55
|
-
PLATFORMS
|
56
|
-
x86-mingw32
|
57
|
-
x86_64-linux
|
58
|
-
|
59
|
-
DEPENDENCIES
|
60
|
-
discorb!
|
61
|
-
rake (~> 13.0)
|
62
|
-
redcarpet
|
63
|
-
rufo (~> 0.13.0)
|
64
|
-
yard (~> 0.9.26)
|
65
|
-
|
66
|
-
BUNDLED WITH
|
67
|
-
2.2.22
|