Method: Discordrb::Bot#stream
- Defined in:
- lib/discordrb/bot.rb
#stream(name, url) ⇒ String
Sets the currently online stream to the specified name and Twitch URL.
578 579 580 581 582 |
# File 'lib/discordrb/bot.rb', line 578 def stream(name, url) gateway_check update_status(@status, name, url) name end |