discorb 0.12.4 → 0.13.3

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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build_main.yml +1 -0
  3. data/.github/workflows/build_version.yml +4 -3
  4. data/.github/workflows/crowdin.yml +32 -0
  5. data/.gitignore +3 -1
  6. data/.yardopts +2 -0
  7. data/Changelog.md +412 -378
  8. data/Gemfile +5 -1
  9. data/README.md +2 -2
  10. data/Rakefile +131 -1
  11. data/crowdin.yml +2 -0
  12. data/discorb.gemspec +12 -1
  13. data/docs/Examples.md +2 -0
  14. data/docs/application_command.md +16 -12
  15. data/docs/cli/irb.md +2 -0
  16. data/docs/cli/new.md +2 -0
  17. data/docs/cli/run.md +3 -1
  18. data/docs/cli/setup.md +4 -2
  19. data/docs/cli.md +2 -0
  20. data/docs/events.md +59 -5
  21. data/docs/extension.md +2 -2
  22. data/docs/faq.md +4 -2
  23. data/docs/license.md +2 -0
  24. data/docs/tutorial.md +4 -3
  25. data/docs/voice_events.md +2 -0
  26. data/lib/discorb/app_command.rb +8 -7
  27. data/lib/discorb/application.rb +32 -2
  28. data/lib/discorb/asset.rb +1 -1
  29. data/lib/discorb/audit_logs.rb +28 -16
  30. data/lib/discorb/channel.rb +140 -81
  31. data/lib/discorb/client.rb +17 -19
  32. data/lib/discorb/common.rb +28 -1
  33. data/lib/discorb/components.rb +12 -0
  34. data/lib/discorb/dictionary.rb +1 -1
  35. data/lib/discorb/embed.rb +4 -0
  36. data/lib/discorb/emoji.rb +9 -7
  37. data/lib/discorb/emoji_table.rb +3891 -3891
  38. data/lib/discorb/event.rb +266 -24
  39. data/lib/discorb/event_handler.rb +39 -0
  40. data/lib/discorb/exe/show.rb +2 -0
  41. data/lib/discorb/extension.rb +5 -5
  42. data/lib/discorb/file.rb +4 -0
  43. data/lib/discorb/flag.rb +5 -1
  44. data/lib/discorb/gateway.rb +97 -17
  45. data/lib/discorb/gateway_requests.rb +4 -0
  46. data/lib/discorb/guild.rb +169 -82
  47. data/lib/discorb/guild_template.rb +12 -9
  48. data/lib/discorb/http.rb +82 -44
  49. data/lib/discorb/image.rb +7 -5
  50. data/lib/discorb/integration.rb +33 -1
  51. data/lib/discorb/intents.rb +8 -3
  52. data/lib/discorb/interaction/response.rb +27 -25
  53. data/lib/discorb/interaction/root.rb +8 -0
  54. data/lib/discorb/invite.rb +3 -2
  55. data/lib/discorb/log.rb +4 -0
  56. data/lib/discorb/member.rb +42 -13
  57. data/lib/discorb/message.rb +32 -17
  58. data/lib/discorb/modules.rb +19 -26
  59. data/lib/discorb/permission.rb +4 -0
  60. data/lib/discorb/rate_limit.rb +6 -2
  61. data/lib/discorb/role.rb +15 -11
  62. data/lib/discorb/sticker.rb +17 -12
  63. data/lib/discorb/user.rb +8 -7
  64. data/lib/discorb/voice_state.rb +8 -5
  65. data/lib/discorb/webhook.rb +38 -47
  66. data/lib/discorb.rb +2 -2
  67. data/po/yard.pot +7775 -5157
  68. data/sig/discorb.rbs +3317 -3820
  69. data/template-replace/scripts/locale_ja.rb +62 -0
  70. metadata +18 -5
data/Changelog.md CHANGED
@@ -1,378 +1,412 @@
1
- # @title Changelog
2
-
3
- # Changelog
4
-
5
- ## v0.12
6
-
7
- ### v0.12.4
8
-
9
- - Update: Update emoji table
10
- - Add: Support min_value and max_value for numeric options in slash command
11
- - Fix: Fix sending images
12
-
13
- ### v0.12.3
14
-
15
- - Fix: Fix NoMethodError in command interaction
16
- - Fix: Fix NoMethodError in Integration#initialize
17
-
18
- ### v0.12.2
19
-
20
- - Fix: Fix `Message#type`
21
- - Change: `discorb run` will lookup for `main.rb` in parent directories
22
-
23
- ### v0.12.1
24
-
25
- - Fix: Fix some texts
26
- - Add: Add `User#mention`
27
-
28
- ### v0.12.0
29
-
30
- - Refactor: Refactor the code
31
- - Fix: Fix resuming gateway, finally
32
- - Fix: Fix `@client` in slash command handler in extension
33
-
34
- ## v0.11
35
-
36
- ### v0.11.4
37
-
38
- - Fix: Fix unpinning messages
39
-
40
- ### v0.11.3
41
-
42
- - Add: Add `Snowflake#id` as alias for `Snowflake#to_s`
43
- - Fix: Fix `Message#unpin`
44
-
45
- ### v0.11.2
46
-
47
- - Add: Add `setup` event
48
- - Fix: Fix gateway resuming
49
- - Add: Add GitHub Packages
50
-
51
- ### v0.11.1
52
-
53
- - Improve: Improve rate limit handling
54
- - Fix: Fix bug in Integration initalization
55
- - Change: Change log style
56
- - Add: Support OP code 7
57
-
58
- ### v0.11.0
59
-
60
- - Add: Improve documents
61
- - Add: Implement global rate limits
62
- - Add: Add support autocomplete
63
- - Add: Add role icon editting
64
- - Change: Use `include Discorb::Extension` instead of `< Discorb::Extension`
65
- - Fix: Fix role operation
66
-
67
- ## v0.10
68
-
69
- ### v0.10.3
70
-
71
- - Add: Support role icons
72
- - Fix: Fix version order
73
- - Change: Use `exec` instead of `system` in `discorb run`
74
- - Add: Add `Extension.loaded`
75
-
76
- ### v0.10.2
77
-
78
- - Change: `discorb init` is now `discorb new`
79
- - Add: Add `:channel_types` parameter to `ApplicationCommand::Handler#slash` and some
80
-
81
- ### v0.10.1
82
-
83
- - Add: Add `Client#extensions`
84
- - Change: `Client#load_extension` allows instance of `Extension`
85
- - Add: Add `-b` option to `discorb run`
86
-
87
- ### v0.10.0
88
-
89
- - Change: Sort versions
90
- - Change: Snowflake is now String
91
- - Change: Extension is now Class
92
- - Add: Add `SelectMenu#disabled=`
93
-
94
- ## v0.9
95
-
96
- ### v0.9.6
97
-
98
- - Add: Add `Messageable#send_message` as alias of `Messageable#post`
99
- - Fix: Fix interaction responding with updating message
100
- - Fix: Fix `MessageComponentInteraction#message`
101
-
102
- ### v0.9.5
103
-
104
- - Fix: Fix editing message
105
- - Add: Add `required` in slash command argument
106
- - Add: Add `default` in slash command argument
107
-
108
- ### v0.9.4
109
-
110
- - Change: `Messageable#typing` with block is now synchronous
111
- - Fix: Fix some issues in document
112
- - Add: Add some attributes to `Message`
113
- - Fix: Fix guild parameter in message of message command
114
-
115
- ### v0.9.3
116
-
117
- - Fix: Fix interaction responding
118
-
119
- ### v0.9.2 (yanked)
120
-
121
- - Add: Make `Async::Task#inspect` shorter
122
- - Add: `SourceResponse#post` will return message now
123
- - Fix: Fix member caching
124
-
125
- ### v0.9.1
126
-
127
- - Fix: Fix member fetching
128
-
129
- ### v0.9.0
130
-
131
- - Delete: Delete `-d` parameter from `discorb run`; This is caused by segement fault error.
132
- - Change: Rename `-t`, `--token` to `-e`, `--env` parameter
133
- - Add: Add `-t`, `--title` parameter to `discorb run`
134
- - Add: Add `title` parameter to `Client#initialize`
135
-
136
- ## v0.8
137
-
138
- ### v0.8.2
139
-
140
- - Fix: Fix `Client#initialize`
141
-
142
- ### v0.8.1
143
-
144
- - Add: Add FAQ
145
- - Fix: Fix sending files
146
- - Add: Add `File.from_string`
147
- - Fix: Fix `Client#update_presence`
148
- - Add: Add information in `discorb run -d`
149
-
150
- ### v0.8.0
151
-
152
- - Add: Add `Guild#fetch_members`
153
- - Add: Add `Guild#fetch_member_list` as alias of `Guild#fetch_members`
154
- - Add: Add `Intents#to_h`
155
- - Add: Add `fetch_member` parameter to `Client#initialize`; Note you should set `false` if your bot doesn't have `GUILD_MEMBERS` intent
156
- - Change: Change `ready` to `standby` event
157
- - Change: `ready` will be fired when client receives `READY` event
158
-
159
- ## v0.7
160
-
161
- ### v0.7.6
162
-
163
- - Fix: Fix heartbeating error
164
-
165
- ### v0.7.5 (yanked)
166
-
167
- - Fix: Fix critical error
168
-
169
- ### v0.7.4 (yanked)
170
-
171
- - Fix: Fix disconnected client
172
-
173
- ### v0.7.3
174
-
175
- - Add: Improve `discorb init`
176
-
177
- ### v0.7.2
178
-
179
- - Add: Add `Member#owner?`
180
- - Fix: Fix `Member#permissions`
181
- - Add: Add `Member#guild_permissions` as alias of `Member#permissions`
182
- - Add: Add default role to `Member#roles`
183
- - Fix: Fix error in `Integration#_set_data`
184
- - Change: Reverse `Member#roles`
185
-
186
- ### v0.7.1
187
-
188
- - Fix: Fix error of responding to interaction
189
-
190
- ### v0.7.0
191
-
192
- - Add: Add `error` event
193
- - Fix: Fix some issues with client without guild intent
194
- - Add: Add alias for `#fired_by`
195
- - Change!: Change block usage of `ApplicationCommand::Handler#group`
196
-
197
- ```ruby
198
- # before
199
- client.slash_group do
200
- slash "help", "Help" do |interaction|
201
- # ...
202
- end
203
- end
204
-
205
- # after
206
- client.slash_group do |group|
207
- group.slash "help", "Help" do |interaction|
208
- # ...
209
- end
210
- end
211
-
212
- ```
213
-
214
- ## v0.6
215
-
216
- ### v0.6.1
217
-
218
- - Change: Rename `Event#discriminator` to `Event#metadata`
219
- - Add: Add `:override` to `Client#on`
220
-
221
- ### v0.6.0
222
-
223
- - Fix: Fix issue with client with no guilds
224
- - Add: Add rbs (experimental)
225
- - Add: Add `-t`, `--token` option to `discorb run`
226
- - Add: Add `-g`, `--guild` option to `discorb setup`
227
- - Change: Use `Async::Task<R>` instead of `R` in return value
228
-
229
- ## v0.5
230
-
231
- ### v0.5.6
232
-
233
- - Add: Raise error when intents are invalid
234
- - Fix: Fix Emoji#==
235
-
236
- ### v0.5.5
237
-
238
- - Fix: Fix some bugs
239
-
240
- ### v0.5.4
241
-
242
- - Fix: Fix issue of receiving component events
243
-
244
- ### v0.5.3
245
-
246
- - Add: Add way to handle raw events with `event_xxx`
247
- - Add: Add `Client#session_id`
248
- - Add: Add `Connectable`
249
- - Fix: Fix error by sending DM
250
-
251
- ### v0.5.2
252
-
253
- - Fix: Fix bug of registering commands
254
- - Add: Add way to register commands in Extension
255
-
256
- ### v0.5.1
257
-
258
- - Add: Can use block for defining group commands
259
- - Fix: Fix bug in subcommands
260
- - Fix: Fix bug in receiving commands
261
-
262
- ### v0.5.0
263
-
264
- - Change: Use zlib stream instead
265
- - Add: Add tutorials
266
- - Add: Add ratelimit handler
267
- - Change: Make `--git` option in `discorb init` false
268
-
269
- ## v0.4
270
-
271
- ### v0.4.2
272
-
273
- - Fix: Fix error in `discorb run`
274
-
275
- ### v0.4.1
276
-
277
- - Add: Add `-s` option to `discorb run`
278
-
279
- ### v0.4.0
280
-
281
- - Add: Add `discorb setup`
282
- - Add: Add `discorb run`
283
- - Add: Add realtime documentation
284
-
285
- ## v0.3
286
-
287
- ### v0.3.1
288
-
289
- - Add: Add `discorb show`
290
- - Fix: Fix documenting
291
-
292
- ### v0.3.0
293
-
294
- - Add: Improve CLI tools
295
- - Add: Add `discorb init`
296
- - Change: Change `discord-irb` to `discorb irb`
297
-
298
- ## v0.2
299
-
300
- ### v0.2.5
301
-
302
- - Add: Add way to add event listener
303
- - Change: Move document to https://discorb-lib.github.io/
304
-
305
- ### v0.2.4
306
-
307
- - Fix: Fix error in `Embed#image=`, `Embed#thumbnail=`
308
-
309
- ### v0.2.3
310
-
311
- - Fix: Fix critical error
312
-
313
- ### v0.2.2 (yanked)
314
-
315
- - Add: Add `Snowflake#to_str`
316
-
317
- ### v0.2.1
318
-
319
- - Fix: Fix NoMethodError in reaction event
320
- - Add: Add Changelog.md to document
321
-
322
- ### v0.2.0
323
-
324
- - Fix: Fix unused dependency
325
- - Add: Add `Client#close!`
326
- - Add: Add discord-irb
327
-
328
- ## v0.1
329
-
330
- ### v0.1.0
331
-
332
- - Add: Add `User#created_at`
333
- - Add: Add `Member#to_s_user`
334
- - Add: Add `DefaultAvatar`
335
- - Add: Support application commands
336
- - Add: Add `Client#ping`
337
- - Add: Allow `String` for `Embed#initialize`
338
- - Change: Change log format
339
-
340
- ## v0.0
341
-
342
- ### v0.0.8
343
-
344
- - Delete: Delete task parameter
345
-
346
- ### v0.0.7
347
-
348
- - Fix: Fix `member_xxx` event
349
-
350
- ### v0.0.6
351
-
352
- - Fix: Fix error in client without members intent
353
- - Add: Add ThreadChannel::News
354
- - Add: Add official discord link
355
-
356
- ### v0.0.5
357
-
358
- - Fix: Fix GitHub link
359
- - Change: Internet to HTTP
360
-
361
- ### v0.0.4
362
-
363
- - Fix: Fix NoMethodError by webhook message
364
- - Add: Add `#author` to webhook message
365
- - Fix: Add `#bot?` to webhook author
366
-
367
- ### v0.0.3
368
-
369
- - Fix: Fix no dependencies
370
-
371
- ### v0.0.2
372
-
373
- - Fix: Fix rubygems description
374
-
375
- ### v0.0.1
376
-
377
- - Initial release
378
-
1
+ <!--
2
+ # @title Changelog
3
+ -->
4
+
5
+ # Changelog
6
+
7
+ ## v0.13
8
+
9
+ ### v0.13.3
10
+
11
+ - Fix: Fix INTEGRATION_xxx event
12
+ - Change: Change description
13
+
14
+ ### v0.13.2
15
+
16
+ - Fix: Fix MESSAGE_DELETE_BULK event
17
+ - Fix: Delete VoiceState from `Guild#voice_states` when member leaves
18
+ - Add: Add `VoiceChannel#members`, `VoiceChannel#voice_states`
19
+ - Add: Add `StageChannel#members`, `StageChannel#voice_states`, `StageChannel#audiences`, `StageChannel#speakers`
20
+ - Fix: Ignore errors on closing websocket
21
+
22
+ ### v0.13.1
23
+
24
+ - Add: `Discorb::Integration#locale`, `Discorb::Integration#guild_locale`
25
+ - Fix: Fix grammers
26
+ - Change: Use `Discorb::Unset` instead of `:unset`
27
+ - Add: `Member#timeout`
28
+ - Improve: Improve sending attachments
29
+ - Fix: Handle `EPIPE` errors
30
+
31
+ ### v0.13.0
32
+
33
+ - Change!: Event is now EventHandler.
34
+ - Add: Support for scheduled events.
35
+ - Fix: Fix bug in sticker initialization.
36
+ - Add: Support application flags
37
+ - Add: Add `#inspect` method to many classes.
38
+
39
+ ## v0.12
40
+
41
+ ### v0.12.4
42
+
43
+ - Update: Update emoji table
44
+ - Add: Support min_value and max_value for numeric options in slash command
45
+ - Fix: Fix sending images
46
+
47
+ ### v0.12.3
48
+
49
+ - Fix: Fix NoMethodError in command interaction
50
+ - Fix: Fix NoMethodError in Integration#initialize
51
+
52
+ ### v0.12.2
53
+
54
+ - Fix: Fix `Message#type`
55
+ - Change: `discorb run` will look up for `main.rb` in parent directories
56
+
57
+ ### v0.12.1
58
+
59
+ - Fix: Fix some texts
60
+ - Add: Add `User#mention`
61
+
62
+ ### v0.12.0
63
+
64
+ - Refactor: Refactor the code
65
+ - Fix: Fix resuming gateway, finally
66
+ - Fix: Fix `@client` in slash command handler in extension
67
+
68
+ ## v0.11
69
+
70
+ ### v0.11.4
71
+
72
+ - Fix: Fix unpinning messages
73
+
74
+ ### v0.11.3
75
+
76
+ - Add: Add `Snowflake#id` as alias for `Snowflake#to_s`
77
+ - Fix: Fix `Message#unpin`
78
+
79
+ ### v0.11.2
80
+
81
+ - Add: Add `setup` event
82
+ - Fix: Fix gateway resuming
83
+ - Add: Add GitHub Packages
84
+
85
+ ### v0.11.1
86
+
87
+ - Improve: Improve rate limit handling
88
+ - Fix: Fix bug in Integration initalization
89
+ - Change: Change log style
90
+ - Add: Support OP code 7
91
+
92
+ ### v0.11.0
93
+
94
+ - Add: Improve documents
95
+ - Add: Implement global rate limits
96
+ - Add: Add support autocomplete
97
+ - Add: Add role icon editting
98
+ - Change: Use `include Discorb::Extension` instead of `< Discorb::Extension`
99
+ - Fix: Fix role operation
100
+
101
+ ## v0.10
102
+
103
+ ### v0.10.3
104
+
105
+ - Add: Support role icons
106
+ - Fix: Fix version order
107
+ - Change: Use `exec` instead of `system` in `discorb run`
108
+ - Add: Add `Extension.loaded`
109
+
110
+ ### v0.10.2
111
+
112
+ - Change: `discorb init` is now `discorb new`
113
+ - Add: Add `:channel_types` parameter to `ApplicationCommand::Handler#slash` and some
114
+
115
+ ### v0.10.1
116
+
117
+ - Add: Add `Client#extensions`
118
+ - Change: `Client#load_extension` allows instance of `Extension`
119
+ - Add: Add `-b` option to `discorb run`
120
+
121
+ ### v0.10.0
122
+
123
+ - Change: Sort versions
124
+ - Change: Snowflake is now String
125
+ - Change: Extension is now Class
126
+ - Add: Add `SelectMenu#disabled=`
127
+
128
+ ## v0.9
129
+
130
+ ### v0.9.6
131
+
132
+ - Add: Add `Messageable#send_message` as alias of `Messageable#post`
133
+ - Fix: Fix interaction responding with updating message
134
+ - Fix: Fix `MessageComponentInteraction#message`
135
+
136
+ ### v0.9.5
137
+
138
+ - Fix: Fix editing message
139
+ - Add: Add `required` in slash command argument
140
+ - Add: Add `default` in slash command argument
141
+
142
+ ### v0.9.4
143
+
144
+ - Change: `Messageable#typing` with block is now synchronous
145
+ - Fix: Fix some issues in document
146
+ - Add: Add some attributes to `Message`
147
+ - Fix: Fix guild parameter in message of message command
148
+
149
+ ### v0.9.3
150
+
151
+ - Fix: Fix interaction responding
152
+
153
+ ### v0.9.2 (yanked)
154
+
155
+ - Add: Make `Async::Task#inspect` shorter
156
+ - Add: `SourceResponse#post` will return message now
157
+ - Fix: Fix member caching
158
+
159
+ ### v0.9.1
160
+
161
+ - Fix: Fix member fetching
162
+
163
+ ### v0.9.0
164
+
165
+ - Delete: Delete `-d` parameter from `discorb run`; This is caused by segement fault error.
166
+ - Change: Rename `-t`, `--token` to `-e`, `--env` parameter
167
+ - Add: Add `-t`, `--title` parameter to `discorb run`
168
+ - Add: Add `title` parameter to `Client#initialize`
169
+
170
+ ## v0.8
171
+
172
+ ### v0.8.2
173
+
174
+ - Fix: Fix `Client#initialize`
175
+
176
+ ### v0.8.1
177
+
178
+ - Add: Add FAQ
179
+ - Fix: Fix sending files
180
+ - Add: Add `File.from_string`
181
+ - Fix: Fix `Client#update_presence`
182
+ - Add: Add information in `discorb run -d`
183
+
184
+ ### v0.8.0
185
+
186
+ - Add: Add `Guild#fetch_members`
187
+ - Add: Add `Guild#fetch_member_list` as alias of `Guild#fetch_members`
188
+ - Add: Add `Intents#to_h`
189
+ - Add: Add `fetch_member` parameter to `Client#initialize`; Note you should set `false` if your bot doesn't have `GUILD_MEMBERS` intent
190
+ - Change: Change `ready` to `standby` event
191
+ - Change: `ready` will be fired when client receives `READY` event
192
+
193
+ ## v0.7
194
+
195
+ ### v0.7.6
196
+
197
+ - Fix: Fix heartbeating error
198
+
199
+ ### v0.7.5 (yanked)
200
+
201
+ - Fix: Fix critical error
202
+
203
+ ### v0.7.4 (yanked)
204
+
205
+ - Fix: Fix disconnected client
206
+
207
+ ### v0.7.3
208
+
209
+ - Add: Improve `discorb init`
210
+
211
+ ### v0.7.2
212
+
213
+ - Add: Add `Member#owner?`
214
+ - Fix: Fix `Member#permissions`
215
+ - Add: Add `Member#guild_permissions` as alias of `Member#permissions`
216
+ - Add: Add default role to `Member#roles`
217
+ - Fix: Fix error in `Integration#_set_data`
218
+ - Change: Reverse `Member#roles`
219
+
220
+ ### v0.7.1
221
+
222
+ - Fix: Fix error of responding to interaction
223
+
224
+ ### v0.7.0
225
+
226
+ - Add: Add `error` event
227
+ - Fix: Fix some issues with client without guild intent
228
+ - Add: Add alias for `#fired_by`
229
+ - Change!: Change block usage of `ApplicationCommand::Handler#group`
230
+
231
+ ```ruby
232
+ # before
233
+ client.slash_group do
234
+ slash "help", "Help" do |interaction|
235
+ # ...
236
+ end
237
+ end
238
+
239
+ # after
240
+ client.slash_group do |group|
241
+ group.slash "help", "Help" do |interaction|
242
+ # ...
243
+ end
244
+ end
245
+
246
+ ```
247
+
248
+ ## v0.6
249
+
250
+ ### v0.6.1
251
+
252
+ - Change: Rename `Event#discriminator` to `Event#metadata`
253
+ - Add: Add `:override` to `Client#on`
254
+
255
+ ### v0.6.0
256
+
257
+ - Fix: Fix issue with client with no guilds
258
+ - Add: Add rbs (experimental)
259
+ - Add: Add `-t`, `--token` option to `discorb run`
260
+ - Add: Add `-g`, `--guild` option to `discorb setup`
261
+ - Change: Use `Async::Task<R>` instead of `R` in return value
262
+
263
+ ## v0.5
264
+
265
+ ### v0.5.6
266
+
267
+ - Add: Raise error when intents are invalid
268
+ - Fix: Fix Emoji#==
269
+
270
+ ### v0.5.5
271
+
272
+ - Fix: Fix some bugs
273
+
274
+ ### v0.5.4
275
+
276
+ - Fix: Fix issue of receiving component events
277
+
278
+ ### v0.5.3
279
+
280
+ - Add: Add way to handle raw events with `event_xxx`
281
+ - Add: Add `Client#session_id`
282
+ - Add: Add `Connectable`
283
+ - Fix: Fix error by sending DM
284
+
285
+ ### v0.5.2
286
+
287
+ - Fix: Fix bug of registering commands
288
+ - Add: Add way to register commands in Extension
289
+
290
+ ### v0.5.1
291
+
292
+ - Add: Can use block for defining group commands
293
+ - Fix: Fix bug in subcommands
294
+ - Fix: Fix bug in receiving commands
295
+
296
+ ### v0.5.0
297
+
298
+ - Change: Use zlib stream instead
299
+ - Add: Add tutorials
300
+ - Add: Add ratelimit handler
301
+ - Change: Make `--git` option in `discorb init` false
302
+
303
+ ## v0.4
304
+
305
+ ### v0.4.2
306
+
307
+ - Fix: Fix error in `discorb run`
308
+
309
+ ### v0.4.1
310
+
311
+ - Add: Add `-s` option to `discorb run`
312
+
313
+ ### v0.4.0
314
+
315
+ - Add: Add `discorb setup`
316
+ - Add: Add `discorb run`
317
+ - Add: Add realtime documentation
318
+
319
+ ## v0.3
320
+
321
+ ### v0.3.1
322
+
323
+ - Add: Add `discorb show`
324
+ - Fix: Fix documenting
325
+
326
+ ### v0.3.0
327
+
328
+ - Add: Improve CLI tools
329
+ - Add: Add `discorb init`
330
+ - Change: Change `discord-irb` to `discorb irb`
331
+
332
+ ## v0.2
333
+
334
+ ### v0.2.5
335
+
336
+ - Add: Add way to add event listener
337
+ - Change: Move document to https://discorb-lib.github.io/
338
+
339
+ ### v0.2.4
340
+
341
+ - Fix: Fix error in `Embed#image=`, `Embed#thumbnail=`
342
+
343
+ ### v0.2.3
344
+
345
+ - Fix: Fix critical error
346
+
347
+ ### v0.2.2 (yanked)
348
+
349
+ - Add: Add `Snowflake#to_str`
350
+
351
+ ### v0.2.1
352
+
353
+ - Fix: Fix NoMethodError in reaction event
354
+ - Add: Add Changelog.md to document
355
+
356
+ ### v0.2.0
357
+
358
+ - Fix: Fix unused dependency
359
+ - Add: Add `Client#close!`
360
+ - Add: Add discord-irb
361
+
362
+ ## v0.1
363
+
364
+ ### v0.1.0
365
+
366
+ - Add: Add `User#created_at`
367
+ - Add: Add `Member#to_s_user`
368
+ - Add: Add `DefaultAvatar`
369
+ - Add: Support application commands
370
+ - Add: Add `Client#ping`
371
+ - Add: Allow `String` for `Embed#initialize`
372
+ - Change: Change log format
373
+
374
+ ## v0.0
375
+
376
+ ### v0.0.8
377
+
378
+ - Delete: Delete task parameter
379
+
380
+ ### v0.0.7
381
+
382
+ - Fix: Fix `member_xxx` event
383
+
384
+ ### v0.0.6
385
+
386
+ - Fix: Fix error in client without members intent
387
+ - Add: Add ThreadChannel::News
388
+ - Add: Add official discord link
389
+
390
+ ### v0.0.5
391
+
392
+ - Fix: Fix GitHub link
393
+ - Change: Internet to HTTP
394
+
395
+ ### v0.0.4
396
+
397
+ - Fix: Fix NoMethodError by webhook message
398
+ - Add: Add `#author` to webhook message
399
+ - Fix: Add `#bot?` to webhook author
400
+
401
+ ### v0.0.3
402
+
403
+ - Fix: Fix no dependencies
404
+
405
+ ### v0.0.2
406
+
407
+ - Fix: Fix rubygems description
408
+
409
+ ### v0.0.1
410
+
411
+ - Initial release
412
+