discorb 0.13.0 → 0.13.4

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