onyxcord 1.1.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 +7 -0
- data/.devcontainer/Dockerfile +13 -0
- data/.devcontainer/devcontainer.json +29 -0
- data/.devcontainer/postcreate.sh +4 -0
- data/.github/CONTRIBUTING.md +13 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +24 -0
- data/.github/pull_request_template.md +37 -0
- data/.github/workflows/ci.yml +78 -0
- data/.github/workflows/codeql.yml +65 -0
- data/.github/workflows/deploy.yml +54 -0
- data/.github/workflows/release.yml +51 -0
- data/.gitignore +16 -0
- data/.markdownlint.json +4 -0
- data/.overcommit.yml +7 -0
- data/.rspec +2 -0
- data/.rubocop.yml +129 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +0 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +305 -0
- data/Rakefile +17 -0
- data/bin/console +15 -0
- data/bin/setup +7 -0
- data/lib/onyxcord/allowed_mentions.rb +43 -0
- data/lib/onyxcord/api/application.rb +316 -0
- data/lib/onyxcord/api/channel.rb +700 -0
- data/lib/onyxcord/api/interaction.rb +67 -0
- data/lib/onyxcord/api/invite.rb +44 -0
- data/lib/onyxcord/api/server.rb +775 -0
- data/lib/onyxcord/api/user.rb +158 -0
- data/lib/onyxcord/api/webhook.rb +163 -0
- data/lib/onyxcord/api.rb +335 -0
- data/lib/onyxcord/await.rb +51 -0
- data/lib/onyxcord/bot.rb +1971 -0
- data/lib/onyxcord/cache.rb +326 -0
- data/lib/onyxcord/colour_rgb.rb +43 -0
- data/lib/onyxcord/commands/command_bot.rb +511 -0
- data/lib/onyxcord/commands/container.rb +112 -0
- data/lib/onyxcord/commands/events.rb +11 -0
- data/lib/onyxcord/commands/parser.rb +327 -0
- data/lib/onyxcord/commands/rate_limiter.rb +144 -0
- data/lib/onyxcord/configuration.rb +125 -0
- data/lib/onyxcord/container.rb +988 -0
- data/lib/onyxcord/data/activity.rb +271 -0
- data/lib/onyxcord/data/application.rb +341 -0
- data/lib/onyxcord/data/attachment.rb +91 -0
- data/lib/onyxcord/data/audit_logs.rb +438 -0
- data/lib/onyxcord/data/avatar_decoration.rb +26 -0
- data/lib/onyxcord/data/call.rb +22 -0
- data/lib/onyxcord/data/channel.rb +1355 -0
- data/lib/onyxcord/data/channel_tag.rb +69 -0
- data/lib/onyxcord/data/collectibles.rb +47 -0
- data/lib/onyxcord/data/component.rb +583 -0
- data/lib/onyxcord/data/embed.rb +258 -0
- data/lib/onyxcord/data/emoji.rb +123 -0
- data/lib/onyxcord/data/install_params.rb +24 -0
- data/lib/onyxcord/data/integration.rb +144 -0
- data/lib/onyxcord/data/interaction.rb +1141 -0
- data/lib/onyxcord/data/invite.rb +137 -0
- data/lib/onyxcord/data/member.rb +528 -0
- data/lib/onyxcord/data/message.rb +612 -0
- data/lib/onyxcord/data/message_activity.rb +41 -0
- data/lib/onyxcord/data/overwrite.rb +109 -0
- data/lib/onyxcord/data/poll.rb +365 -0
- data/lib/onyxcord/data/primary_server.rb +60 -0
- data/lib/onyxcord/data/profile.rb +79 -0
- data/lib/onyxcord/data/reaction.rb +64 -0
- data/lib/onyxcord/data/recipient.rb +34 -0
- data/lib/onyxcord/data/role.rb +449 -0
- data/lib/onyxcord/data/role_connection_data.rb +69 -0
- data/lib/onyxcord/data/role_subscription.rb +41 -0
- data/lib/onyxcord/data/scheduled_event.rb +513 -0
- data/lib/onyxcord/data/server.rb +1614 -0
- data/lib/onyxcord/data/server_preview.rb +68 -0
- data/lib/onyxcord/data/snapshot.rb +112 -0
- data/lib/onyxcord/data/team.rb +98 -0
- data/lib/onyxcord/data/timestamp.rb +69 -0
- data/lib/onyxcord/data/user.rb +324 -0
- data/lib/onyxcord/data/voice_region.rb +46 -0
- data/lib/onyxcord/data/voice_state.rb +41 -0
- data/lib/onyxcord/data/webhook.rb +238 -0
- data/lib/onyxcord/data.rb +57 -0
- data/lib/onyxcord/errors.rb +246 -0
- data/lib/onyxcord/event_executor.rb +80 -0
- data/lib/onyxcord/events/await.rb +48 -0
- data/lib/onyxcord/events/bans.rb +60 -0
- data/lib/onyxcord/events/channels.rb +225 -0
- data/lib/onyxcord/events/generic.rb +129 -0
- data/lib/onyxcord/events/guilds.rb +269 -0
- data/lib/onyxcord/events/integrations.rb +100 -0
- data/lib/onyxcord/events/interactions.rb +624 -0
- data/lib/onyxcord/events/invites.rb +127 -0
- data/lib/onyxcord/events/lifetime.rb +31 -0
- data/lib/onyxcord/events/members.rb +110 -0
- data/lib/onyxcord/events/message.rb +399 -0
- data/lib/onyxcord/events/polls.rb +118 -0
- data/lib/onyxcord/events/presence.rb +131 -0
- data/lib/onyxcord/events/raw.rb +74 -0
- data/lib/onyxcord/events/reactions.rb +218 -0
- data/lib/onyxcord/events/roles.rb +87 -0
- data/lib/onyxcord/events/scheduled_events.rb +171 -0
- data/lib/onyxcord/events/threads.rb +100 -0
- data/lib/onyxcord/events/typing.rb +73 -0
- data/lib/onyxcord/events/voice_server_update.rb +48 -0
- data/lib/onyxcord/events/voice_state_update.rb +106 -0
- data/lib/onyxcord/events/webhooks.rb +65 -0
- data/lib/onyxcord/gateway.rb +890 -0
- data/lib/onyxcord/id_object.rb +39 -0
- data/lib/onyxcord/light/data.rb +62 -0
- data/lib/onyxcord/light/integrations.rb +73 -0
- data/lib/onyxcord/light/light_bot.rb +58 -0
- data/lib/onyxcord/light.rb +8 -0
- data/lib/onyxcord/logger.rb +120 -0
- data/lib/onyxcord/message_components.rb +70 -0
- data/lib/onyxcord/paginator.rb +60 -0
- data/lib/onyxcord/permissions.rb +255 -0
- data/lib/onyxcord/rate_limiter/gateway.rb +42 -0
- data/lib/onyxcord/rate_limiter/rest.rb +89 -0
- data/lib/onyxcord/version.rb +7 -0
- data/lib/onyxcord/voice/encoder.rb +115 -0
- data/lib/onyxcord/voice/network.rb +380 -0
- data/lib/onyxcord/voice/opcodes.rb +29 -0
- data/lib/onyxcord/voice/sodium.rb +157 -0
- data/lib/onyxcord/voice/timer.rb +19 -0
- data/lib/onyxcord/voice/voice_bot.rb +386 -0
- data/lib/onyxcord/webhooks.rb +14 -0
- data/lib/onyxcord/websocket.rb +62 -0
- data/lib/onyxcord.rb +180 -0
- data/onyxcord-webhooks.gemspec +30 -0
- data/onyxcord.gemspec +50 -0
- metadata +421 -0
data/onyxcord.gemspec
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative 'lib/onyxcord/version'
|
|
4
|
+
require_relative 'lib/onyxcord/webhooks/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = 'onyxcord'
|
|
8
|
+
spec.version = OnyxCord::VERSION
|
|
9
|
+
spec.authors = ['Gustavo Silva']
|
|
10
|
+
spec.email = ['gustavosilva8kt@gmail.com']
|
|
11
|
+
|
|
12
|
+
spec.summary = 'Discord API for Ruby with Components V2 support'
|
|
13
|
+
spec.description = 'A Ruby implementation of the Discord API based on discordrb, updated for OnyxCord with raw-first core, modern modals, and Components V2.'
|
|
14
|
+
spec.homepage = 'https://github.com/kruldevb/OnyxCord'
|
|
15
|
+
spec.license = 'MIT'
|
|
16
|
+
|
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|examples|lib/onyxcord/webhooks)/}) }
|
|
18
|
+
spec.bindir = 'exe'
|
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
|
+
spec.metadata = {
|
|
21
|
+
'bug_tracker_uri' => 'https://github.com/kruldevb/OnyxCord/issues',
|
|
22
|
+
'changelog_uri' => 'https://github.com/kruldevb/OnyxCord/blob/main/CHANGELOG.md',
|
|
23
|
+
'documentation_uri' => 'https://github.com/kruldevb/OnyxCord#readme',
|
|
24
|
+
'source_code_uri' => 'https://github.com/kruldevb/OnyxCord',
|
|
25
|
+
'rubygems_mfa_required' => 'true'
|
|
26
|
+
}
|
|
27
|
+
spec.require_paths = ['lib']
|
|
28
|
+
|
|
29
|
+
spec.add_dependency 'base64', '~> 0.2'
|
|
30
|
+
spec.add_dependency 'ffi', '>= 1.9.24'
|
|
31
|
+
spec.add_dependency 'opus-ruby'
|
|
32
|
+
spec.add_dependency 'rest-client', '>= 2.0.0'
|
|
33
|
+
spec.add_dependency 'websocket-client-simple', '>= 0.9.0'
|
|
34
|
+
|
|
35
|
+
spec.add_dependency 'onyxcord-webhooks', "~> #{OnyxCord::Webhooks::VERSION}"
|
|
36
|
+
|
|
37
|
+
spec.required_ruby_version = '>= 3.3'
|
|
38
|
+
|
|
39
|
+
spec.add_development_dependency 'bundler', '>= 1.10', '< 5'
|
|
40
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
|
41
|
+
spec.add_development_dependency 'redcarpet', '~> 3.5' # YARD markdown formatting
|
|
42
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
43
|
+
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.6.0'
|
|
44
|
+
spec.add_development_dependency 'rspec-prof', '~> 0.0.7'
|
|
45
|
+
spec.add_development_dependency 'rubocop', '~> 1.77.0'
|
|
46
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.25.0'
|
|
47
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.7.0'
|
|
48
|
+
spec.add_development_dependency 'simplecov', '~> 0.21'
|
|
49
|
+
spec.add_development_dependency 'yard', '~> 0.9.37'
|
|
50
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: onyxcord
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Gustavo Silva
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: base64
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0.2'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0.2'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: ffi
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.9.24
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 1.9.24
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: opus-ruby
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: rest-client
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 2.0.0
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: 2.0.0
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: websocket-client-simple
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - ">="
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: 0.9.0
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - ">="
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: 0.9.0
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: onyxcord-webhooks
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - "~>"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: 1.1.0
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: 1.1.0
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: bundler
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '1.10'
|
|
103
|
+
- - "<"
|
|
104
|
+
- !ruby/object:Gem::Version
|
|
105
|
+
version: '5'
|
|
106
|
+
type: :development
|
|
107
|
+
prerelease: false
|
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
109
|
+
requirements:
|
|
110
|
+
- - ">="
|
|
111
|
+
- !ruby/object:Gem::Version
|
|
112
|
+
version: '1.10'
|
|
113
|
+
- - "<"
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: '5'
|
|
116
|
+
- !ruby/object:Gem::Dependency
|
|
117
|
+
name: rake
|
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
- - "~>"
|
|
121
|
+
- !ruby/object:Gem::Version
|
|
122
|
+
version: '13.0'
|
|
123
|
+
type: :development
|
|
124
|
+
prerelease: false
|
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
126
|
+
requirements:
|
|
127
|
+
- - "~>"
|
|
128
|
+
- !ruby/object:Gem::Version
|
|
129
|
+
version: '13.0'
|
|
130
|
+
- !ruby/object:Gem::Dependency
|
|
131
|
+
name: redcarpet
|
|
132
|
+
requirement: !ruby/object:Gem::Requirement
|
|
133
|
+
requirements:
|
|
134
|
+
- - "~>"
|
|
135
|
+
- !ruby/object:Gem::Version
|
|
136
|
+
version: '3.5'
|
|
137
|
+
type: :development
|
|
138
|
+
prerelease: false
|
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
140
|
+
requirements:
|
|
141
|
+
- - "~>"
|
|
142
|
+
- !ruby/object:Gem::Version
|
|
143
|
+
version: '3.5'
|
|
144
|
+
- !ruby/object:Gem::Dependency
|
|
145
|
+
name: rspec
|
|
146
|
+
requirement: !ruby/object:Gem::Requirement
|
|
147
|
+
requirements:
|
|
148
|
+
- - "~>"
|
|
149
|
+
- !ruby/object:Gem::Version
|
|
150
|
+
version: '3.0'
|
|
151
|
+
type: :development
|
|
152
|
+
prerelease: false
|
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
154
|
+
requirements:
|
|
155
|
+
- - "~>"
|
|
156
|
+
- !ruby/object:Gem::Version
|
|
157
|
+
version: '3.0'
|
|
158
|
+
- !ruby/object:Gem::Dependency
|
|
159
|
+
name: rspec_junit_formatter
|
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
|
161
|
+
requirements:
|
|
162
|
+
- - "~>"
|
|
163
|
+
- !ruby/object:Gem::Version
|
|
164
|
+
version: 0.6.0
|
|
165
|
+
type: :development
|
|
166
|
+
prerelease: false
|
|
167
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
168
|
+
requirements:
|
|
169
|
+
- - "~>"
|
|
170
|
+
- !ruby/object:Gem::Version
|
|
171
|
+
version: 0.6.0
|
|
172
|
+
- !ruby/object:Gem::Dependency
|
|
173
|
+
name: rspec-prof
|
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
|
175
|
+
requirements:
|
|
176
|
+
- - "~>"
|
|
177
|
+
- !ruby/object:Gem::Version
|
|
178
|
+
version: 0.0.7
|
|
179
|
+
type: :development
|
|
180
|
+
prerelease: false
|
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
182
|
+
requirements:
|
|
183
|
+
- - "~>"
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: 0.0.7
|
|
186
|
+
- !ruby/object:Gem::Dependency
|
|
187
|
+
name: rubocop
|
|
188
|
+
requirement: !ruby/object:Gem::Requirement
|
|
189
|
+
requirements:
|
|
190
|
+
- - "~>"
|
|
191
|
+
- !ruby/object:Gem::Version
|
|
192
|
+
version: 1.77.0
|
|
193
|
+
type: :development
|
|
194
|
+
prerelease: false
|
|
195
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
196
|
+
requirements:
|
|
197
|
+
- - "~>"
|
|
198
|
+
- !ruby/object:Gem::Version
|
|
199
|
+
version: 1.77.0
|
|
200
|
+
- !ruby/object:Gem::Dependency
|
|
201
|
+
name: rubocop-performance
|
|
202
|
+
requirement: !ruby/object:Gem::Requirement
|
|
203
|
+
requirements:
|
|
204
|
+
- - "~>"
|
|
205
|
+
- !ruby/object:Gem::Version
|
|
206
|
+
version: 1.25.0
|
|
207
|
+
type: :development
|
|
208
|
+
prerelease: false
|
|
209
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
210
|
+
requirements:
|
|
211
|
+
- - "~>"
|
|
212
|
+
- !ruby/object:Gem::Version
|
|
213
|
+
version: 1.25.0
|
|
214
|
+
- !ruby/object:Gem::Dependency
|
|
215
|
+
name: rubocop-rake
|
|
216
|
+
requirement: !ruby/object:Gem::Requirement
|
|
217
|
+
requirements:
|
|
218
|
+
- - "~>"
|
|
219
|
+
- !ruby/object:Gem::Version
|
|
220
|
+
version: 0.7.0
|
|
221
|
+
type: :development
|
|
222
|
+
prerelease: false
|
|
223
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
224
|
+
requirements:
|
|
225
|
+
- - "~>"
|
|
226
|
+
- !ruby/object:Gem::Version
|
|
227
|
+
version: 0.7.0
|
|
228
|
+
- !ruby/object:Gem::Dependency
|
|
229
|
+
name: simplecov
|
|
230
|
+
requirement: !ruby/object:Gem::Requirement
|
|
231
|
+
requirements:
|
|
232
|
+
- - "~>"
|
|
233
|
+
- !ruby/object:Gem::Version
|
|
234
|
+
version: '0.21'
|
|
235
|
+
type: :development
|
|
236
|
+
prerelease: false
|
|
237
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
238
|
+
requirements:
|
|
239
|
+
- - "~>"
|
|
240
|
+
- !ruby/object:Gem::Version
|
|
241
|
+
version: '0.21'
|
|
242
|
+
- !ruby/object:Gem::Dependency
|
|
243
|
+
name: yard
|
|
244
|
+
requirement: !ruby/object:Gem::Requirement
|
|
245
|
+
requirements:
|
|
246
|
+
- - "~>"
|
|
247
|
+
- !ruby/object:Gem::Version
|
|
248
|
+
version: 0.9.37
|
|
249
|
+
type: :development
|
|
250
|
+
prerelease: false
|
|
251
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
252
|
+
requirements:
|
|
253
|
+
- - "~>"
|
|
254
|
+
- !ruby/object:Gem::Version
|
|
255
|
+
version: 0.9.37
|
|
256
|
+
description: A Ruby implementation of the Discord API based on discordrb, updated
|
|
257
|
+
for OnyxCord with raw-first core, modern modals, and Components V2.
|
|
258
|
+
email:
|
|
259
|
+
- gustavosilva8kt@gmail.com
|
|
260
|
+
executables: []
|
|
261
|
+
extensions: []
|
|
262
|
+
extra_rdoc_files: []
|
|
263
|
+
files:
|
|
264
|
+
- ".devcontainer/Dockerfile"
|
|
265
|
+
- ".devcontainer/devcontainer.json"
|
|
266
|
+
- ".devcontainer/postcreate.sh"
|
|
267
|
+
- ".github/CONTRIBUTING.md"
|
|
268
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
269
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
270
|
+
- ".github/pull_request_template.md"
|
|
271
|
+
- ".github/workflows/ci.yml"
|
|
272
|
+
- ".github/workflows/codeql.yml"
|
|
273
|
+
- ".github/workflows/deploy.yml"
|
|
274
|
+
- ".github/workflows/release.yml"
|
|
275
|
+
- ".gitignore"
|
|
276
|
+
- ".markdownlint.json"
|
|
277
|
+
- ".overcommit.yml"
|
|
278
|
+
- ".rspec"
|
|
279
|
+
- ".rubocop.yml"
|
|
280
|
+
- ".yardopts"
|
|
281
|
+
- CHANGELOG.md
|
|
282
|
+
- Gemfile
|
|
283
|
+
- LICENSE.txt
|
|
284
|
+
- README.md
|
|
285
|
+
- Rakefile
|
|
286
|
+
- bin/console
|
|
287
|
+
- bin/setup
|
|
288
|
+
- lib/onyxcord.rb
|
|
289
|
+
- lib/onyxcord/allowed_mentions.rb
|
|
290
|
+
- lib/onyxcord/api.rb
|
|
291
|
+
- lib/onyxcord/api/application.rb
|
|
292
|
+
- lib/onyxcord/api/channel.rb
|
|
293
|
+
- lib/onyxcord/api/interaction.rb
|
|
294
|
+
- lib/onyxcord/api/invite.rb
|
|
295
|
+
- lib/onyxcord/api/server.rb
|
|
296
|
+
- lib/onyxcord/api/user.rb
|
|
297
|
+
- lib/onyxcord/api/webhook.rb
|
|
298
|
+
- lib/onyxcord/await.rb
|
|
299
|
+
- lib/onyxcord/bot.rb
|
|
300
|
+
- lib/onyxcord/cache.rb
|
|
301
|
+
- lib/onyxcord/colour_rgb.rb
|
|
302
|
+
- lib/onyxcord/commands/command_bot.rb
|
|
303
|
+
- lib/onyxcord/commands/container.rb
|
|
304
|
+
- lib/onyxcord/commands/events.rb
|
|
305
|
+
- lib/onyxcord/commands/parser.rb
|
|
306
|
+
- lib/onyxcord/commands/rate_limiter.rb
|
|
307
|
+
- lib/onyxcord/configuration.rb
|
|
308
|
+
- lib/onyxcord/container.rb
|
|
309
|
+
- lib/onyxcord/data.rb
|
|
310
|
+
- lib/onyxcord/data/activity.rb
|
|
311
|
+
- lib/onyxcord/data/application.rb
|
|
312
|
+
- lib/onyxcord/data/attachment.rb
|
|
313
|
+
- lib/onyxcord/data/audit_logs.rb
|
|
314
|
+
- lib/onyxcord/data/avatar_decoration.rb
|
|
315
|
+
- lib/onyxcord/data/call.rb
|
|
316
|
+
- lib/onyxcord/data/channel.rb
|
|
317
|
+
- lib/onyxcord/data/channel_tag.rb
|
|
318
|
+
- lib/onyxcord/data/collectibles.rb
|
|
319
|
+
- lib/onyxcord/data/component.rb
|
|
320
|
+
- lib/onyxcord/data/embed.rb
|
|
321
|
+
- lib/onyxcord/data/emoji.rb
|
|
322
|
+
- lib/onyxcord/data/install_params.rb
|
|
323
|
+
- lib/onyxcord/data/integration.rb
|
|
324
|
+
- lib/onyxcord/data/interaction.rb
|
|
325
|
+
- lib/onyxcord/data/invite.rb
|
|
326
|
+
- lib/onyxcord/data/member.rb
|
|
327
|
+
- lib/onyxcord/data/message.rb
|
|
328
|
+
- lib/onyxcord/data/message_activity.rb
|
|
329
|
+
- lib/onyxcord/data/overwrite.rb
|
|
330
|
+
- lib/onyxcord/data/poll.rb
|
|
331
|
+
- lib/onyxcord/data/primary_server.rb
|
|
332
|
+
- lib/onyxcord/data/profile.rb
|
|
333
|
+
- lib/onyxcord/data/reaction.rb
|
|
334
|
+
- lib/onyxcord/data/recipient.rb
|
|
335
|
+
- lib/onyxcord/data/role.rb
|
|
336
|
+
- lib/onyxcord/data/role_connection_data.rb
|
|
337
|
+
- lib/onyxcord/data/role_subscription.rb
|
|
338
|
+
- lib/onyxcord/data/scheduled_event.rb
|
|
339
|
+
- lib/onyxcord/data/server.rb
|
|
340
|
+
- lib/onyxcord/data/server_preview.rb
|
|
341
|
+
- lib/onyxcord/data/snapshot.rb
|
|
342
|
+
- lib/onyxcord/data/team.rb
|
|
343
|
+
- lib/onyxcord/data/timestamp.rb
|
|
344
|
+
- lib/onyxcord/data/user.rb
|
|
345
|
+
- lib/onyxcord/data/voice_region.rb
|
|
346
|
+
- lib/onyxcord/data/voice_state.rb
|
|
347
|
+
- lib/onyxcord/data/webhook.rb
|
|
348
|
+
- lib/onyxcord/errors.rb
|
|
349
|
+
- lib/onyxcord/event_executor.rb
|
|
350
|
+
- lib/onyxcord/events/await.rb
|
|
351
|
+
- lib/onyxcord/events/bans.rb
|
|
352
|
+
- lib/onyxcord/events/channels.rb
|
|
353
|
+
- lib/onyxcord/events/generic.rb
|
|
354
|
+
- lib/onyxcord/events/guilds.rb
|
|
355
|
+
- lib/onyxcord/events/integrations.rb
|
|
356
|
+
- lib/onyxcord/events/interactions.rb
|
|
357
|
+
- lib/onyxcord/events/invites.rb
|
|
358
|
+
- lib/onyxcord/events/lifetime.rb
|
|
359
|
+
- lib/onyxcord/events/members.rb
|
|
360
|
+
- lib/onyxcord/events/message.rb
|
|
361
|
+
- lib/onyxcord/events/polls.rb
|
|
362
|
+
- lib/onyxcord/events/presence.rb
|
|
363
|
+
- lib/onyxcord/events/raw.rb
|
|
364
|
+
- lib/onyxcord/events/reactions.rb
|
|
365
|
+
- lib/onyxcord/events/roles.rb
|
|
366
|
+
- lib/onyxcord/events/scheduled_events.rb
|
|
367
|
+
- lib/onyxcord/events/threads.rb
|
|
368
|
+
- lib/onyxcord/events/typing.rb
|
|
369
|
+
- lib/onyxcord/events/voice_server_update.rb
|
|
370
|
+
- lib/onyxcord/events/voice_state_update.rb
|
|
371
|
+
- lib/onyxcord/events/webhooks.rb
|
|
372
|
+
- lib/onyxcord/gateway.rb
|
|
373
|
+
- lib/onyxcord/id_object.rb
|
|
374
|
+
- lib/onyxcord/light.rb
|
|
375
|
+
- lib/onyxcord/light/data.rb
|
|
376
|
+
- lib/onyxcord/light/integrations.rb
|
|
377
|
+
- lib/onyxcord/light/light_bot.rb
|
|
378
|
+
- lib/onyxcord/logger.rb
|
|
379
|
+
- lib/onyxcord/message_components.rb
|
|
380
|
+
- lib/onyxcord/paginator.rb
|
|
381
|
+
- lib/onyxcord/permissions.rb
|
|
382
|
+
- lib/onyxcord/rate_limiter/gateway.rb
|
|
383
|
+
- lib/onyxcord/rate_limiter/rest.rb
|
|
384
|
+
- lib/onyxcord/version.rb
|
|
385
|
+
- lib/onyxcord/voice/encoder.rb
|
|
386
|
+
- lib/onyxcord/voice/network.rb
|
|
387
|
+
- lib/onyxcord/voice/opcodes.rb
|
|
388
|
+
- lib/onyxcord/voice/sodium.rb
|
|
389
|
+
- lib/onyxcord/voice/timer.rb
|
|
390
|
+
- lib/onyxcord/voice/voice_bot.rb
|
|
391
|
+
- lib/onyxcord/webhooks.rb
|
|
392
|
+
- lib/onyxcord/websocket.rb
|
|
393
|
+
- onyxcord-webhooks.gemspec
|
|
394
|
+
- onyxcord.gemspec
|
|
395
|
+
homepage: https://github.com/kruldevb/OnyxCord
|
|
396
|
+
licenses:
|
|
397
|
+
- MIT
|
|
398
|
+
metadata:
|
|
399
|
+
bug_tracker_uri: https://github.com/kruldevb/OnyxCord/issues
|
|
400
|
+
changelog_uri: https://github.com/kruldevb/OnyxCord/blob/main/CHANGELOG.md
|
|
401
|
+
documentation_uri: https://github.com/kruldevb/OnyxCord#readme
|
|
402
|
+
source_code_uri: https://github.com/kruldevb/OnyxCord
|
|
403
|
+
rubygems_mfa_required: 'true'
|
|
404
|
+
rdoc_options: []
|
|
405
|
+
require_paths:
|
|
406
|
+
- lib
|
|
407
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
408
|
+
requirements:
|
|
409
|
+
- - ">="
|
|
410
|
+
- !ruby/object:Gem::Version
|
|
411
|
+
version: '3.3'
|
|
412
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
413
|
+
requirements:
|
|
414
|
+
- - ">="
|
|
415
|
+
- !ruby/object:Gem::Version
|
|
416
|
+
version: '0'
|
|
417
|
+
requirements: []
|
|
418
|
+
rubygems_version: 3.6.9
|
|
419
|
+
specification_version: 4
|
|
420
|
+
summary: Discord API for Ruby with Components V2 support
|
|
421
|
+
test_files: []
|