discorb 0.12.3 → 0.13.2

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