music id match up

This commit is contained in:
Aynakeya
2022-07-02 08:41:31 -07:00
parent 595eebdb1c
commit e0849f0d65
11 changed files with 118 additions and 21 deletions

View File

@@ -66,6 +66,7 @@ func (d *Diange) Match(command string) bool {
}
func (d *Diange) Execute(command string, args []string, danmu *liveclient.DanmuMessage) {
l().Infof("%s(%s) Execute command: %s %s", danmu.User.Username, danmu.User.Uid, command, args)
// if queue is full, return
if controller.UserPlaylist.Size() >= d.QueueMax {
l().Info("Queue is full, ignore diange")