Reccive Gateway Events Discordrb
How can I reccive gateway events and do something when for example the channel pins are updated using discordrb? https://discord.com/developers/docs/topics/gateway-events#receive-events
Retrive emoji URL discordrb (Ruby)
How would I retrive the url on an emoji on discord using discordrb such as: https://cdn.discordapp.com/emojis/1117212093725294593.png?
Get the User ID of who sent the slash command in Discordrb
I have a slash command written in the discordrb library. I want to know how I can get the user_id of who sent that slash command.
Unable to output correct hex color in Ruby using Discordrb
I have some code here that takes a hex value (clr) and converts it to a RGB value array using the Color Converter gem in Ruby to set a guild role using the discordrb library. The problem is that the color set differs from the hex value I specified. For example: If I input the hex colour #25107A I see it successfully outputs the integer value of: 3716122, but then the actual role colour that gets set in the client is #38b41a.