Author Topic: Custom Commands: Set Whisper/Chat Output Settings  (Read 6318 times)

0 Members and 1 Guest are viewing this topic.

Marstead

  • Padawan
  • **
  • Posts: 51
  • Karma: +1/-0
    • View Profile
  • Twitch Name: Marstead
Custom Commands: Set Whisper/Chat Output Settings
« on: May 10, 2016, 10:49:36 PM »
When whisper support first launched for DeepBot, commands whispered to DeepBot would output to chat. As part of a fix on 11/20/2015 commands were changed to respond to whispers with whispers. But right now you can't set it up so a command entered in chat receives a whisper or vice-versa.

I would like to see this broken out into a new option that lets you specify how you want a command to be output. These three could work:

* Respond: Chat
* Respond: Whisper
* Respond: Reply

Where Chat causes the command to always display in chat, Whisper causes the command to always display in whisper, and Reply causes the command to behave as the bot currently behaves (in Chat if sent in Chat, in Whisper if sent in Whisper), with Reply as the default behavior.

Some new variables to change this behavior would be nice too, but a checkbox setting would be a great start.

Thanks!

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom Commands: Set Whisper/Chat Output Settings
« Reply #1 on: May 11, 2016, 02:33:58 AM »
For commands you want whispered back to user, just add /w @user@ in the beginning of the command message part. :o
Old Name: RepentGamingTV
Twitch: Here

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

Marstead

  • Padawan
  • **
  • Posts: 51
  • Karma: +1/-0
    • View Profile
  • Twitch Name: Marstead
Re: Custom Commands: Set Whisper/Chat Output Settings
« Reply #2 on: May 11, 2016, 10:30:53 PM »
For commands you want whispered back to user, just add /w @user@ in the beginning of the command message part. :o

I'm more interested in having this setting for commands that people whisper to the bot, but I want to have displayed in chat. For example, commands that are restricted to VIPs or Mods that I don't want other viewers trying to spam.

There's a bit of a workaround there too where you can just make an empty command that chains after 0 seconds to the command you want to use.

Thanks!

Marstead

  • Padawan
  • **
  • Posts: 51
  • Karma: +1/-0
    • View Profile
  • Twitch Name: Marstead
Re: Custom Commands: Set Whisper/Chat Output Settings
« Reply #3 on: May 14, 2016, 03:16:59 AM »
Hi RepentGamingTV!

This week's deployment actually broke the workaround for getting whispered commands to activate in chat instead of responding with a whisper.

Previously, I was able to make two commands and chain them together to achieve this purpose. For example:

!mod @target@
[No command text, just chains to !mod2 @target@]

!mod2 @target@
MODERATOR MESSAGE: @target@

With this command, moderators can either give a moderator message in chat or whisper it to the bot, and the bot will say it in chat regardless of how the request was received.

After the most recent update, this workaround no longer works. Whispered chained commands are always returning via whisper.

Maybe to mirror putting /w @user@ in the command to guarantee it is always whispered to the user, can we get something like @say@ entered at the start of a custom command to force it to display in chat instead of replying via whisper?

Thank you!
« Last Edit: May 14, 2016, 03:31:57 AM by Marstead »

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom Commands: Set Whisper/Chat Output Settings
« Reply #4 on: May 14, 2016, 03:32:26 AM »
Hi RepentGamingTV!

This week's deployment actually broke the workaround for getting whispered commands to activate in chat instead of responding with a whisper.

Previously, I was able to make two commands and chain them together to achieve this purpose. For example:

!mod @target@
[No command text, just chains to !mod2 @target@]

!mod2 @target@
MODERATOR MESSAGE: @target@

With this command, moderators can either give a moderator message in chat or whisper it to the bot, and the bot will say it in chat regardless of how the request was received.

After the most recent update, this workaround no longer works. Whispered chained commands are always returning via whisper.

Maybe to mirror putting /w @user@ in the command to guarantee it is always whispered to the user, can we get something like @say@ entered at the start of a custom command to force it to display in chat instead of replying via whisper?

Thank you!

Yeah, forwarded bug report to dev. I noticed this too. It use to output it in chat if the command didn't contain /w @user@
Old Name: RepentGamingTV
Twitch: Here

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