# @title Changelog # Changelog ## v0.12 ### v0.12.1 - Fix: Fix some texts - Add: Add `User#mention` ### v0.12.0 - Refactor: Refactor the code - Fix: Fix resuming gateway, finally - Fix: Fix `@client` in slash command handler in extension ## v0.11 ### v0.11.4 - Fix: Fix unpinning messages ### v0.11.3 - Add: Add `Snowflake#id` as alias for `Snowflake#to_s` - Fix: Fix `Message#unpin` ### v0.11.2 - Add: Add `setup` event - Fix: Fix gateway resuming - Add: Add GitHub Packages ### v0.11.1 - Improve: Improve rate limit handling - Fix: Fix bug in Integration initalization - Change: Change log style - Add: Support OP code 7 ### v0.11.0 - Add: Improve documents - Add: Implement global rate limits - Add: Add support autocomplete - Add: Add role icon editting - Change: Use `include Discorb::Extension` instead of `< Discorb::Extension` - Fix: Fix role operation ## v0.10 ### v0.10.3 - Add: Support role icons - Fix: Fix version order - Change: Use `exec` instead of `system` in `discorb run` - Add: Add `Extension.loaded` ### v0.10.2 - Change: `discorb init` is now `discorb new` - Add: Add `:channel_types` parameter to `ApplicationCommand::Handler#slash` and some ### v0.10.1 - Add: Add `Client#extensions` - Change: `Client#load_extension` allows instance of `Extension` - Add: Add `-b` option to `discorb run` ### v0.10.0 - Change: Sort versions - Change: Snowflake is now String - Change: Extension is now Class - Add: Add `SelectMenu#disabled=` ## v0.9 ### v0.9.6 - Add: Add `Messageable#send_message` as alias of `Messageable#post` - Fix: Fix interaction responding with updating message - Fix: Fix `MessageComponentInteraction#message` ### v0.9.5 - Fix: Fix editing message - Add: Add `required` in slash command argument - Add: Add `default` in slash command argument ### v0.9.4 - Change: `Messageable#typing` with block is now synchronous - Fix: Fix some issues in document - Add: Add some attributes to `Message` - Fix: Fix guild parameter in message of message command ### v0.9.3 - Fix: Fix interaction responding ### v0.9.2 (yanked) - Add: Make `Async::Task#inspect` shorter - Add: `SourceResponse#post` will return message now - Fix: Fix member caching ### v0.9.1 - Fix: Fix member fetching ### v0.9.0 - Delete: Delete `-d` parameter from `discorb run`; This is caused by segement fault error. - Change: Rename `-t`, `--token` to `-e`, `--env` parameter - Add: Add `-t`, `--title` parameter to `discorb run` - Add: Add `title` parameter to `Client#initialize` ## v0.8 ### v0.8.2 - Fix: Fix `Client#initialize` ### v0.8.1 - Add: Add FAQ - Fix: Fix sending files - Add: Add `File.from_string` - Fix: Fix `Client#update_presence` - Add: Add information in `discorb run -d` ### v0.8.0 - Add: Add `Guild#fetch_members` - Add: Add `Guild#fetch_member_list` as alias of `Guild#fetch_members` - Add: Add `Intents#to_h` - Add: Add `fetch_member` parameter to `Client#initialize`; Note you should set `false` if your bot doesn't have `GUILD_MEMBERS` intent - Change: Change `ready` to `standby` event - Change: `ready` will be fired when client receives `READY` event ## v0.7 ### v0.7.6 - Fix: Fix heartbeating error ### v0.7.5 (yanked) - Fix: Fix critical error ### v0.7.4 (yanked) - Fix: Fix disconnected client ### v0.7.3 - Add: Improve `discorb init` ### v0.7.2 - Add: Add `Member#owner?` - Fix: Fix `Member#permissions` - Add: Add `Member#guild_permissions` as alias of `Member#permissions` - Add: Add default role to `Member#roles` - Fix: Fix error in `Integration#_set_data` - Change: Reverse `Member#roles` ### v0.7.1 - Fix: Fix error of responding to interaction ### v0.7.0 - Add: Add `error` event - Fix: Fix some issues with client without guild intent - Add: Add alias for `#fired_by` - Change!: Change block usage of `ApplicationCommand::Handler#group` ```ruby # before client.slash_group do slash "help", "Help" do |interaction| # ... end end # after client.slash_group do |group| group.slash "help", "Help" do |interaction| # ... end end ``` ## v0.6 ### v0.6.1 - Change: Rename `Event#discriminator` to `Event#metadata` - Add: Add `:override` to `Client#on` ### v0.6.0 - Fix: Fix issue with client with no guilds - Add: Add rbs (experimental) - Add: Add `-t`, `--token` option to `discorb run` - Add: Add `-g`, `--guild` option to `discorb setup` - Change: Use `Async::Task` instead of `R` in return value ## v0.5 ### v0.5.6 - Add: Raise error when intents are invalid - Fix: Fix Emoji#== ### v0.5.5 - Fix: Fix some bugs ### v0.5.4 - Fix: Fix issue of receiving component events ### v0.5.3 - Add: Add way to handle raw events with `event_xxx` - Add: Add `Client#session_id` - Add: Add `Connectable` - Fix: Fix error by sending DM ### v0.5.2 - Fix: Fix bug of registering commands - Add: Add way to register commands in Extension ### v0.5.1 - Add: Can use block for defining group commands - Fix: Fix bug in subcommands - Fix: Fix bug in receiving commands ### v0.5.0 - Change: Use zlib stream instead - Add: Add tutorials - Add: Add ratelimit handler - Change: Make `--git` option in `discorb init` false ## v0.4 ### v0.4.2 - Fix: Fix error in `discorb run` ### v0.4.1 - Add: Add `-s` option to `discorb run` ### v0.4.0 - Add: Add `discorb setup` - Add: Add `discorb run` - Add: Add realtime documentation ## v0.3 ### v0.3.1 - Add: Add `discorb show` - Fix: Fix documenting ### v0.3.0 - Add: Improve CLI tools - Add: Add `discorb init` - Change: Change `discord-irb` to `discorb irb` ## v0.2 ### v0.2.5 - Add: Add way to add event listener - Change: Move document to https://discorb-lib.github.io/ ### v0.2.4 - Fix: Fix error in `Embed#image=`, `Embed#thumbnail=` ### v0.2.3 - Fix: Fix critical error ### v0.2.2 (yanked) - Add: Add `Snowflake#to_str` ### v0.2.1 - Fix: Fix NoMethodError in reaction event - Add: Add Changelog.md to document ### v0.2.0 - Fix: Fix unused dependency - Add: Add `Client#close!` - Add: Add discord-irb ## v0.1 ### v0.1.0 - Add: Add `User#created_at` - Add: Add `Member#to_s_user` - Add: Add `DefaultAvatar` - Add: Support application commands - Add: Add `Client#ping` - Add: Allow `String` for `Embed#initialize` - Change: Change log format ## v0.0 ### v0.0.8 - Delete: Delete task parameter ### v0.0.7 - Fix: Fix `member_xxx` event ### v0.0.6 - Fix: Fix error in client without members intent - Add: Add ThreadChannel::News - Add: Add official discord link ### v0.0.5 - Fix: Fix GitHub link - Change: Internet to HTTP ### v0.0.4 - Fix: Fix NoMethodError by webhook message - Add: Add `#author` to webhook message - Fix: Add `#bot?` to webhook author ### v0.0.3 - Fix: Fix no dependencies ### v0.0.2 - Fix: Fix rubygems description ### v0.0.1 - Initial release