Rapptz / discord.py

An API wrapper for Discord written in Python.
http://discordpy.rtfd.org/en/latest
MIT License
14.93k stars 3.77k forks source link

Need help with the create_ytdl_player #284

Closed botiapa closed 8 years ago

botiapa commented 8 years ago

Here is the code: http://pastebin.com/YLQrHWeC

Here is the log: http://pastebin.com/m84wBA6B

I have 2 problems. First, it cannot run the "handle_musicbot" after the song is done because i need to put it in a coroutine but when i do it, it prints an error. Second when i type "!skip" in the discord chat,it won't start the music.

thanks for helping i'm new to this api.

Fuyukai commented 8 years ago

Revoke that token in your first link.

Rapptz commented 8 years ago

http://discordpy.readthedocs.io/en/latest/faq.html#how-do-i-pass-a-coroutine-to-the-player-s-after-function

botiapa commented 8 years ago

thank you