new sfx
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
TODO:
|
||||
☐ Add cooldowns
|
||||
✔ Add cooldowns @done (18-10-02 10:16)
|
||||
☐ Move anything that calls director.state from app into fgfm lib
|
||||
☐ Restrict # of requests a user can have in the queue at once
|
||||
☐ Move vrmode timer to this bot, delete from SLCB
|
||||
☐ Support a CLI flag to delay showing queue until command is issued
|
||||
☐ Room vid requests / import
|
||||
@@ -11,7 +13,6 @@ TODO:
|
||||
☐ Remove currently playing video from vote choices
|
||||
☐ Command to add sets of videos to the queue at once (like the entire ttas or all gold segments)
|
||||
☐ Command to stop video rotation / timers (shutdown)
|
||||
☐ Restrict # of requests a user can have in the queue at once
|
||||
☐ Start/stop stream automation
|
||||
☐ Start
|
||||
- Starting Soon is shown until countdown is triggered
|
||||
|
||||
10
fgfm.js
10
fgfm.js
@@ -267,13 +267,13 @@ const streamInit = (config, twitch) => {
|
||||
|
||||
|
||||
current: (cmd) => {
|
||||
// @TODO: Move into FGFM
|
||||
// @TODO: Move retrieval of currentVideo into FGFM
|
||||
twitch.botChat.say(cmd.to, `Now Playing: ${director.state.currentVideo.chatName}`);
|
||||
},
|
||||
|
||||
|
||||
next: (cmd) => {
|
||||
// @TODO: Move into FGFM
|
||||
// @TODO: Move retrieval of videoQueue into FGFM
|
||||
if (director.state.videoQueue.length > 0) {
|
||||
twitch.botChat.say(cmd.to, `Next Video: ${director.state.videoQueue[0].chatName}`);
|
||||
} else {
|
||||
@@ -290,7 +290,7 @@ const streamInit = (config, twitch) => {
|
||||
}
|
||||
|
||||
// make sure request vid isn't in the queue already
|
||||
// @TODO: Move into FGFM
|
||||
// @TODO: Move check into FGFM
|
||||
if (director.state.videoQueue.findIndex(e => e.id === requestedVideoId) !== -1) {
|
||||
twitch.botChat.say(cmd.to, `That video is in the queue already!`);
|
||||
return;
|
||||
@@ -303,6 +303,8 @@ const streamInit = (config, twitch) => {
|
||||
return;
|
||||
}
|
||||
|
||||
// @TODO: Make sure user hasn't met the request limit
|
||||
|
||||
config.vods.alttp[vodIndex].requestedBy = cmd.from;
|
||||
|
||||
// add to queue if it exists
|
||||
@@ -333,6 +335,8 @@ const streamInit = (config, twitch) => {
|
||||
return;
|
||||
}
|
||||
|
||||
// @TODO: Make sure user hasn't met the request limit
|
||||
|
||||
room.requestedBy = cmd.from;
|
||||
|
||||
director.addRoomVideo(room);
|
||||
|
||||
BIN
sfx/enjoy.mp3
Executable file
BIN
sfx/enjoy.mp3
Executable file
Binary file not shown.
BIN
sfx/gtt.mp3
Executable file
BIN
sfx/gtt.mp3
Executable file
Binary file not shown.
BIN
sfx/hamlaugh2.mp3
Executable file
BIN
sfx/hamlaugh2.mp3
Executable file
Binary file not shown.
Reference in New Issue
Block a user