cronokirby / alchemy

A discord library for Elixir
MIT License
151 stars 34 forks source link

Issue with Voice #50

Closed Zesky665 closed 6 years ago

Zesky665 commented 6 years ago

I've tried to implement the voice example from the introduction. When using the play(url) command, I get the following error.

11:56:45.995 [error] Task #PID<0.256.0> started from #PID<0.242.0> terminating ** (ArgumentError) unknown registry: Registry.Voice (elixir) lib/registry.ex:758: Registry.key_info!/1 (elixir) lib/registry.ex:419: Registry.lookup/2 (alchemy) lib/Structs/Voice/voice.ex:108: Alchemy.Voice.join/3 (gerard) lib/dj.ex:34: Gerard.DJ.join_voice/1 (elixir) lib/task/supervised.ex:85: Task.Supervised.do_apply/2 (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3 Function: &Gerard.DJ.join_voice/1

cronokirby commented 6 years ago

Did you correctly specify the the paths to ffmpeg and youtube_dl? Not doing that would cause this

Zesky665 commented 6 years ago

I'll check. Does the path have to lead to the executable file for ffmpeg or youtube_dl?

Update: It was a typo on my end :P