discorb 0.12.2 → 0.13.1

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