Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update channel.rb #160

Merged
merged 1 commit into from
May 22, 2022
Merged

Update channel.rb #160

merged 1 commit into from
May 22, 2022

Conversation

cwar
Copy link
Contributor

@cwar cwar commented May 22, 2022

When writing a message to channel with components, the send_message method converts components to an array. Theedit_message method does not. This sends something like "components":"#<Discordrb::Components::View:0x000055589734d998>"} in the actual API rather than the expected array.

Summary


Added

Changed

Deprecated

Removed

Fixed

When writing a message to channel with components, the `send_message` method converts `components` to an array. The`edit_message` method does not. This sends something like `"components":"#<Discordrb::Components::View:0x000055589734d998>"}` in the actual API rather than the expected array.
@swarley swarley merged commit 70e047c into shardlab:main May 22, 2022
@swarley
Copy link
Member

swarley commented May 22, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants