New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set bot to announce "Now playing:" when in auto playlist. #1248
Comments
async def cmd_np(self, player, channel, server, message):
|
from #674. |
Where do i put this? |
in bot.py |
ik but anywhere in there particular |
ive attempted this multiple times and it doesn't change the bot in anyway, and there seems to be a lot of extra files missing, do i need to download something extra for this to work? |
in bot.py put it between commands |
you don't need to download anything/add anything other than the code i sent you |
also im using Review branch |
ya i did put it in between commands but when i run it, it keeps saying there are multiple errors in the coding, i keep trying to fix it but once i fix one issue anotherone comes up :/ |
Send me the errors |
actually is there a way u can just send me a completed file, i didnt personalise it that much i can fix it myself after. |
Why don't you send me errors u get when u try to launch the bot? I edited my bot so many times i'll have to send you a zip folder. Make it simple.. send me errors u get and i will tell you what to fix. |
you need to respect indentations |
send me ur bot.py file |
bot.zip |
i probs put the coding in the wrong place in the first place xD |
New WinRAR ZIP archive.zip |
@TimmyTheRat i have the same problem too, could you pls tell me what should i add in my bot.py? |
async def cmd_np(self, player, channel, server, message): Displays the current song in chat. if player.current_entry:
else: |
ok.. but i copied this before put it in my bot.py and i get that identation error |
download the zip file i sent and look how i made the np command. The spaces are VERY important |
still get the error, but i noticed in the file i downloaded ■■■■■■■■■■□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ these squares of the progress bar display. meanwhile in my bot.py these squares are all "???????????????????" idk if you understand what i said |
send me ur bot.py file |
does it work ? |
you are a faggot. really i had to say this after you banned me because i used 1 of your server emojis |
uh, whatever happened here.. ok then.. anywayy..... Timmy, the file u gave me it says IndentationError: unident does not match any outer indentation level |
send me the whole error |
just tried getting it to work, but i get this error now. any ideas? want to get this function working as well :) |
also Herobrice. the line numer is very important, had the same error, took me two seconds after finding the line to fix it. here is my bot.py file, no errors, unless np is called. if you want to fix it yourself, go to line 1684 and remove a single space. that will fix it :) |
It doesn't work because you're using the default branch. Switch to review if u want the command to work properly |
got the review version. still not showing now playing unless called. but hey no errors at least. other than this one, after skip is used, but its at random, not always showing. |
Hey , could you guys PLEASE , post a working one ? This is what i'am having right now tried to paste it myself and tried the file giveen by @TimmyTheRat Without sucess |
Its working. You have spacing errors. |
Guess i should say thanks , buuuut no :> |
Because you don't have "Review" branch. The command will not work on the normal version |
Mh , i tried i swear. File are identical and still |
Send me a ss. I wanna see the start of the command |
Alright , well nevermind i got some progress. http://i.imgur.com/Sv6oVLr.png I can slove it alone , though when a new song start from the playlist the bot doesn't say anything :/ |
Its a command. It doesn't show the message unless you call it |
If you are using notepad++ make sure this is enabled http://imgur.com/a/ViiIy |
That was it thank you! |
I dont understand a thing o-o |
I am using the bot to play an auto playlist of NCS music as I am helping a streamer and every now and them someone asks what was queued and i would have to /queue to show them, I was wondering if there was a way to announce what is being played currently and delete that message when the next song is queued just like as if you queued the music yourself. The only difference is that the bot is on an auto playlist.
The text was updated successfully, but these errors were encountered: