Add startup sound
parent
fc43c43d59
commit
ca8f3a4be2
|
@ -8,6 +8,7 @@ module.exports = function (bot, api) {
|
||||||
await api.joinChannel(channel);
|
await api.joinChannel(channel);
|
||||||
let conn=api.getConnectionForVoiceChannel(channel);
|
let conn=api.getConnectionForVoiceChannel(channel);
|
||||||
api.queue=new AudioQueue(conn);
|
api.queue=new AudioQueue(conn);
|
||||||
|
api.queue.add(__dirname + "/../../sysstart.wav");
|
||||||
api.speak(channel, api.strings.WELCOME);
|
api.speak(channel, api.strings.WELCOME);
|
||||||
})
|
})
|
||||||
}
|
}
|
Binary file not shown.
Loading…
Reference in New Issue