Class: LibDiscord::Voice
Overview
Voice Resource
Do not instantiate a Voice directly. Instead request one from an instance of Client.
client = LibDiscord::Client.new("Bot auth.token")
v = client["voice"]
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from LibDiscord::Resource
Instance Method Details
#list_voice_regions ⇒ Response
25 26 27 |
# File 'lib/lib_discord/voice.rb', line 25 def list_voice_regions send_request(:get, "/voice/regions") end |