shardlab / discordrb

Discord API for Ruby
MIT License
538 stars 99 forks source link

Fix buttons and string selects without emojis breaking due to API change #249

Closed wouterdedroog closed 10 months ago

wouterdedroog commented 10 months ago

Fix buttons and string selects without emojis breaking due to API change (fixes #247)

Summary

Due to a Discord API change, buttons and string selects without emojis no longer work in the current Discordrb version (as stated in #247. This PR fixes this issue by returning nil instead of an empty hash.

swarley commented 10 months ago

Thanks!