discorb 0.13.0 → 0.13.1

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