Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: g33z3r_hd on June 24, 2015, 03:15:05 AM

Title: Channel Command Options
Post by: g33z3r_hd on June 24, 2015, 03:15:05 AM
I am not sure if this is even possible, so I figured that I would ask.

Is there currently a way to create a command that returns a value from a text file?  As an example, I would create a !song command that would return the contents of a text file that contains the Artist and Song information (just one example).

Thanks
g33z3r
Title: Re: Channel Command Options
Post by: TheNumbLock on June 24, 2015, 04:42:59 AM
No, not currently.
Title: Re: Channel Command Options
Post by: emrerocky on June 24, 2015, 05:34:45 AM
!song is already a command.  It can pull from the built in YouTube player, and from Last.FM.
Title: Re: Channel Command Options
Post by: g33z3r_hd on June 24, 2015, 01:01:01 PM
That is great if you use YouTube for music but I don't...
Title: Re: Channel Command Options
Post by: TheNumbLock on June 24, 2015, 02:17:05 PM
I am not sure if this is even possible, so I figured that I would ask.

Is there currently a way to create a command that returns a value from a text file?  As an example, I would create a !song command that would return the contents of a text file that contains the Artist and Song information (just one example).

Thanks
g33z3r

Well you can use Last.FM scrobble feature where you can connect different music players to last.fm to show currently playing with !song command, but not sure if it works for .txt files for deepbot. You may have to use another program to grab music from your music player to be written to a .txt file.

Link to Last.FM Scrobble: http://www.last.fm/group/Does+It+Scrobble
Title: Re: Channel Command Options
Post by: emrerocky on June 24, 2015, 02:41:29 PM
I am not sure if this is even possible, so I figured that I would ask.

Is there currently a way to create a command that returns a value from a text file?  As an example, I would create a !song command that would return the contents of a text file that contains the Artist and Song information (just one example).

Thanks
g33z3r

Well you can use Last.FM scrobble feature where you can connect different music players to last.fm to show currently playing with !song command, but not sure if it works for .txt files for deepbot. You may have to use another program to grab music from your music player to be written to a .txt file.

Link to Last.FM Scrobble: http://www.last.fm/group/Does+It+Scrobble

Last.FM does work with text files.  You have to use the current song formated file in the OBS folder of your DeepBot directory.