Author Topic: how to make deepbot command message begining with !  (Read 2456 times)

0 Members and 1 Guest are viewing this topic.

TaterTotTodd

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TaterTotTodd
how to make deepbot command message begining with !
« on: June 12, 2016, 06:04:04 AM »
here is what I want the bot to do but the bot doesn't type with an exclaimation point at the begining, doesn't even say anything  when I have  a ! begining in the command how do I fix it https://gyazo.com/f9f04447a5e6e627bb3c7630612e6467

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: how to make deepbot command message begining with !
« Reply #1 on: June 12, 2016, 06:05:31 AM »
Is the command !supercookies a custom command that you have added?  If it is your currency and you are trying to add currency to someone else, you don't put !supercookies, you just do !add.

TaterTotTodd

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TaterTotTodd
Re: how to make deepbot command message begining with !
« Reply #2 on: June 12, 2016, 06:12:28 AM »
it's a custom command not my stream currency

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: how to make deepbot command message begining with !
« Reply #3 on: June 12, 2016, 06:56:20 AM »
Is the !supercookies command supposed to say something in chat when you run it?  If not it wouldn't say anything anyways.

TaterTotTodd

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TaterTotTodd
Re: how to make deepbot command message begining with !
« Reply #4 on: June 12, 2016, 07:01:22 AM »
it is supposed to say !supercookies add 1 @user@

Basically I have a custom points bot running on the side so my users can exchange one currency for another regular cookies are like pennys super cookies are dollars

the user who types the command !buysuper spends 250 cookies to buy 1 super cookie on my other loyality points bot where I have my deepbot as a moderator. so in order for my other bot to accept the command I need deepbot to say "!supercookies add 1 @user@"

emrerocky

  • Advisor
  • Councilor
  • **
  • Posts: 1240
  • Karma: +163/-8
    • View Profile
    • emrerocky's Website
  • Twitch Name: emrerocky
Re: how to make deepbot command message begining with !
« Reply #5 on: June 12, 2016, 01:54:41 PM »
When you set deepbot to run a command, it runs it internally, meaning that it never posts it in Twitch chat to avoid spam.  So if the command isn't inside of DeepBot then it will never be run from DeepBot.

TaterTotTodd

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TaterTotTodd
Re: how to make deepbot command message begining with !
« Reply #6 on: June 12, 2016, 02:52:07 PM »
so there is no way to change it so it says the command in chat?

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: how to make deepbot command message begining with !
« Reply #7 on: June 12, 2016, 09:03:55 PM »
Currently the bot can't send commands starting with '!' since it thinks this is a command and processes it internally.
In the next patch I will add the option to escape this behavior using '\!' which will not process the command and send it to chat.

TaterTotTodd

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: TaterTotTodd
Re: how to make deepbot command message begining with !
« Reply #8 on: June 13, 2016, 03:10:47 AM »
tyvm @expertsonline for the update cant wait til next update