I'm wondering if anyone has any form of solution for this? I've been googling for some time now and can't seem to find a solution.
Is there a way to either remove Hubot from Slacks default #general channel or have him so he mutes himself and doesn't respond to commands in the channel directly, perhaps instead private messages the person? I want to implement my bot into my organization but I want to avoid situation where he floods general chat by responding to a command.
Did you try to "/kick hubot" command on the #general channel?
It should work like for any other users
Related
Is there a way that I can achieve forward option in Google chat, to forward a message from one group to another group. I see neither inbuilt support nor an extension for it.
Thanks.
Google chat doesn't have a way to forward messages to another space. You may forward it to your inbox, though.
im developing dialplan using asterisk and PAGI (PHP asterisk gateway interface)
but i cant find a way to create node which can have dynamic number of annoucements depends on result from database.
I found a way to do this by adding annoucements in loop in method called executeAfterRun
but when Im trying to interrupt node by pressing anything it interrupts only current annoucement and going to playing next one.
I want this whole node to be interruptable not just current annoucement.
can anyone help me with this problem ?
thanks in advance for any help
best regards
You have create in your php code string like
announce1&announce2&announce3
using loop. After that you can use that string for Playback command, it will work like one large file.
For example if you had a question and script like
Are you over 13+
a. if yes go to #2
b. if no end
Please pick a chat room
Looking at hubot it looks like it looks for specific questions but doesn't necessarily store state or allow the progression of a longer interview by remembering previous answers and doing "if this then that".
Does hubot support this? If not is there another open source alternative that is a better fit for the use case?
Would I just store user information in the hubot brain for each user's answer, building up a user's state over time? I suppose with each user answer we can look up the user's state, and their current progression in the hubot brain and then handle it accordingly.
However, if it's more of a script rather than looking for any old random question via regex matching, does this take away from most of the benefit of using hubot in the first place?
Maybe I didn't search to good, but I wonder is there a way to play a sound on my Apple mobile device when the task is finished, for example call to apply?
Best Regards
(This is one of many possible answers, and happens to work very well for me.)
I use Pushbullet and RPushbullet. After the initial setup (free account and free use), from any R instance (that has connectivity with the internet) I can run pbNote('note', 'title', 'body of note'), and it "instantly" comes up on my computer and mobile.
Because it is an R package/function, it can be easily scripted to meet whatever static/dynamic needs may arise. It can also send images (I'm told), files, addresses (think google maps), and lists.
I'm using the twitteR package and tweet something when a long-lasting task is done. You can then setup a second twitter account to follow the account you tweet to from R and set an alarm for new tweets.
To be able to tweet from R, you have to go through all the authentication steps for Twitter, though.
I use my own github package to send a text. This is wrapping python code I didn't write and don't understand so I maintain it for myself but have not been able to address other people's problems:
https://github.com/trinker/gmailR
So the use may look something like:
gmail(to=cell2email(5555555555, "sprint"), password = "password")
Including this at the end of the script sends me a text when the long task is complete. This really is taking advantage that cell numbers can be turned into email addresses if the cell carrier is known.
This question is the opposite of Header in gmail for thread hinting
I have a system that generates notifications for various things. A lot of these have the same subject line, but different content.
Is there anyway short of adding some kind of unique token in the subject line of forcing the emails to NOT be in the same thread, i.e. show up individually. Changing headers and/or content would be acceptable, but changing the subject line will scare people. Also, not all of the recipients are Google Apps/#gmail.com accounts so I can't use things like "+hash".
If it matters, the application is written in C# and ASP.Net.
Anyone know how to do this?
Google seems to weigh the subject line pretty heavily in their threading heuristic, so there doesn't appear to be much that you, as a sender, can do about it without unique-ifing
the subject lines somehow.
Adding a timestamp to the subject line seems to defeat the threading -- do you think
you could get your users to buy into that?
On the recipient's side, they could use the IMAP interface to bypass gmail's threading. And I hear Google is open to giving users the option to
disable the "conversations" feature -- it's obvious that there are a lot of people
out there who hate it!
You may be in luck now, check out this article - https://gsuiteupdates.googleblog.com/2019/03/threading-changes-in-gmail-conversation-view.html - because of the new requirement to have the mail header reference a previous email message ID, your system generated emails are probably no longer threading if your situation is like mine. Good for you, but that wasn't what I wanted for my use case! Enjoy.