Skip to content
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

下载id XXXX完成,正在加入队列 该语句发送弹幕有问题 #5

Closed
SoukinOKATU opened this issue Nov 28, 2017 · 3 comments
Closed

Comments

@SoukinOKATU
Copy link

SoukinOKATU commented Nov 28, 2017

其中的id xxxxxx会被python获取,作为新的指令推送到api下载,
具体表现为
点歌人:id XXXXXXXX
直播人 : 已收到点歌人的指令
直播人 : 正在下载id XXXXXXXX
直播人 : id XXXXXXXX完成
直播人 : 已收到直播人的指令
直播人 : 正在下载id xxxxxx 完成
直播人 : 出错了:下载出错,请换一首或重试

id xxxxxx 完成 这句话会被系统当作指令。

然后虽然能够正常下载前一个用户点的歌曲,但是还是会报错一次。

@chenxuuu
Copy link
Owner

请修改post_dm.py文件的第191行

@SoukinOKATU
Copy link
Author

send_dm('已收到'+user+'的指令')
这个修改成什么样?

@chenxuuu
Copy link
Owner

post_dm.py文件的if(user == '接待喵'): #防止自循环
改为你的机器人的名字

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants