Add start.sh to ignore files for local play

This commit is contained in:
hodasemi 2018-11-17 18:26:45 +01:00
parent 67e26a4c68
commit 58c6a2647e

View file

@ -137,7 +137,7 @@ impl Play {
let os_name = file.unwrap().file_name();
let name = os_name.to_str().unwrap();
if name != "RMusicBot" && name != "bot.conf" {
if name != "RMusicBot" && name != "bot.conf" && name != "start.sh" {
songs.push(Song {
name: name.to_string(),
});