Commit a96b2fce authored by nanahira's avatar nanahira

stop

parent 97a77788
......@@ -1990,6 +1990,10 @@
case '/music':
var music = cmd[1];
if (settings.modules.music.enabled && music) {
if (music === "stop") {
ygopro.stoc_send_hint_music_to_room(room, 0);
ygopro.stoc_send_chat_to_room(room, "Music stopped by "+client.name+".", ygopro.constants.COLORS.BABYBLUE);
}
var music_id = music_list[music];
if (music_id) {
ygopro.stoc_send_hint_music_to_room(room, music_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment