-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to have a custom command output as a whisper #184
Comments
Definitely a good idea. We need a good service-agnostic syntax for this, though. Maybe an extra limiter?
|
I want to be able to add a command that can whisper to a specific user, not just the user who activates the command, so if there could just be some kind of "/w @target" type thing that the bot detects & turns into a whisper/PM, that would be nice. |
Quick question; what would the usage of something like that be? I can't think of a usage for it :/ |
It would allow automating things that require other bots/services.
I would personally be using it to make the bot whisper at my ScorpBot instance to trigger my command that loops through a list of people & shouts them out. Currently, it's posting the command to chat, and I'd prefer to have it whisper, so I don't have an unnecessary chat message. |
Ahh, that makes sense. Okay, yeah, I was just unsure of a use for it but I can see the usage for it. |
@kondrik Interesting... do you have any ideas for syntax? 🤔 |
Maybe something like
Where it takes the first argument after the command name as the target. |
I would still want the command to be able to be mod-only or caster-only, so it would need to be possible to combine permissions and whisper. You could always do like I've seen other bots do, and detect if the message starts with /w, then use the second word of the message as the target. Using Alkali's example:
|
Yeah that could work. And if the multi-limiter thing isn't already a part of the bot (don't know because I can't test right now) it should be, because the limiters should be allowed to work together. CC: 2Cubed |
Multi-limiters don't currently work, intentionally... but simply because we only have Once we add
|
It would be nice to have the ability to specify if a custom command should be output in the general chat or as a whisper to the user that ran the command.
For example there could be a modifier like /w that you put at the beginning of the command output it should implicitly run the output as "/whisper %name%"
Example:
EngineerWilky81: !command add quietCmd /w You're now being quiet with CactusBot
CactusBotAlpha: Added command !quietCmd
EngineerWilky81: !quietCmd
EngineerWilky81 > CactusBotAlpha You're now being quiet with CactusBot
The text was updated successfully, but these errors were encountered: