Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: firefist235 on November 16, 2015, 04:15:50 PM

Title: Use one Command to play sounds
Post by: firefist235 on November 16, 2015, 04:15:50 PM
Hi all,

is it possible to make one command to play sounds? For Example:
!sounds -> lists all available sounds
!play soundXY plays the chosen sound.

I've senn this in another stream and i find this idea really nice. Don't know if DeepBot was used there. The benefit would be that i don't need to make a single command for every sound, and the cooldown-timer would prevent spam for all sound.

Hope you can help me
Have a nice Day ;)
Title: Re: Use one Command to play sounds
Post by: Mitch on November 16, 2015, 04:29:47 PM
You'd need to make a command for each sound, then you can list the commands in a command.
That's what i'd do.
Title: Re: Use one Command to play sounds
Post by: firefist235 on November 16, 2015, 04:51:44 PM
that would be possible. but how do you prevent spam. Let's say you have 5 sounds, every sound has a 5 Minutes cooldown. So a viewer could play every sound once at a time bevor he has to wait for the cooldown to expire.
Title: Re: Use one Command to play sounds
Post by: ExpertsOnline on November 17, 2015, 12:20:49 AM
Make the sound commands cost points so people would have to spend hard earned points creating a currency sink and offering economic spam protection.
Title: Re: Use one Command to play sounds
Post by: firefist235 on November 25, 2015, 04:14:07 PM
i've done so ;) thx