Deep Bot - Twitch Streamer Assistant

Deep Bot => Feature Requests => Topic started by: DeadairX on May 09, 2014, 06:22:36 PM

Title: Custom commands with variables
Post by: DeadairX on May 09, 2014, 06:22:36 PM
Unless it's already a feature and I'm missing it, can we have the ability to make our own commands that use variables?

For example:
!follow $user = "Go follow $user at www.twitch.tv/$user"


And also, the ability to see other people's point balance
!points $user = "Points: $user 10"

I can see why the points command might be a problem but I figured it was worth asking.

Thank you!
Title: Re: Custom commands with variables
Post by: drunkyoda on May 10, 2014, 01:27:52 AM
The deepbot as far as i know does not have the touser command.

If you wanted to set it up so whoever typed the command would have their twitch go out it would be setup like this:

!addcmd !follow Go follow @user@ at www.twitch.tv/@user@

For instance if I typed that in chat it would look like this:

Drunkyoda: !follow
DeepBot: Go follow Drunkyoda at ww.twitch.tv/Drunkyoda


The command to check peoples coins or points is !check

So you could do !check Drunkyoda
Title: Re: Custom commands with variables
Post by: ExpertsOnline on May 10, 2014, 12:38:56 PM
This does already exist.

Listed below are the dynamic variables that work with DeepBot.

@user@ = User Name
@target@ = First Parameter of channel message ( E.g. message : http://twitch.tv/@target@, "!twitch experts" will give a message http://twitch.tv/experts )
@points@ = User Points
@joindate@ = Date user joined the channel.
@hours@ = Number of hours watched.
@streamrank@ = User stream rank.
@hrstolevelup@ = Hours till user reaches next stream rank.
@last5follows@ = Last 5 users who have followed the stream [Also works on timed messages]
@last10follows@ = Last 10 users who have followed the stream [Also works on timed messages]
Title: Re: Custom commands with variables
Post by: UnragedGamer on July 03, 2014, 10:49:08 AM
is there a @game@ that queries the game you are playing to add it to a command? I know there is a !game one but I need to know how to query it myself
Title: Re: Custom commands with variables
Post by: ziteseve on August 31, 2014, 05:34:40 PM
This does already exist.

Listed below are the dynamic variables that work with DeepBot.

@user@ = User Name
@target@ = First Parameter of channel message ( E.g. message : http://twitch.tv/@target@, "!twitch experts" will give a message http://twitch.tv/experts )
@points@ = User Points
@joindate@ = Date user joined the channel.
@hours@ = Number of hours watched.
@streamrank@ = User stream rank.
@hrstolevelup@ = Hours till user reaches next stream rank.
@last5follows@ = Last 5 users who have followed the stream [Also works on timed messages]
@last10follows@ = Last 10 users who have followed the stream [Also works on timed messages]


First of all i want to say Hell of a bot good sir! i love it!

My question! is there a way to do a click to tweet command like i have with Nightbot? (id like to migrate everything over as nightbot is completely unreliable)

Ex. " Please make sure to tweet out the stream: $(tweet $(twitch status) @Ziteseve twitch.tv/ziteseve) "
Title: Re: Custom commands with variables
Post by: IanChandler1990 on August 31, 2014, 06:55:52 PM
is there a @game@ that queries the game you are playing to add it to a command? I know there is a !game one but I need to know how to query it myself
there is a @game@ it will pull the game you have in your twitch title
Title: Re: Custom commands with variables
Post by: kyroskoh on December 13, 2014, 04:19:30 AM
There's some variables have been added but it has not been updated to the list yet:

@uptime@ - Display the bot/stream uptime
@game@ - Display the streamer's stream game
@title@ - Display the streamer's stream title