Author Topic: Channel Command Options  (Read 1977 times)

0 Members and 1 Guest are viewing this topic.

g33z3r_hd

  • Youngling
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
  • Twitch Name: g33z3r_hd
Channel Command Options
« 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

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Channel Command Options
« Reply #1 on: June 24, 2015, 04:42:59 AM »
No, not currently.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Channel Command Options
« Reply #2 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.

g33z3r_hd

  • Youngling
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
  • Twitch Name: g33z3r_hd
Re: Channel Command Options
« Reply #3 on: June 24, 2015, 01:01:01 PM »
That is great if you use YouTube for music but I don't...

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Channel Command Options
« Reply #4 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
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: Channel Command Options
« Reply #5 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.