-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Internal hubot broken #13317
Comments
Same for us. We ended up converting our hubot scripts to an app. AFAIK it's being encouraged that you move away from the internal hubot and look at Apps or external hubot. |
@jasonfah The Problem is we're using the internal hubot to react to DMs between other People, not to the bot itself. The Rocketchat Hubot Adapter can't to that. If you got a solution for this, I'd happily give it a try. |
The external bot should be able to do anything the internal one can. |
Sadly not, see RocketChat/hubot-rocketchat#274 |
Could you tell us a little about what your hubot scripts were doing. Have you looked at the new app framework? Maybe it can do what you need. |
Sure thing, it's actually pretty simple: You send your colleague a $keyword via DM and the bot sends an answer into the Conversation between you and you colleague. |
That seems like it should be possible with the new app framework. Documentation is a bit hit and miss but the best advice I can give is to go to the marketplace and download a few apps. You can then unzip them and take a look at the source. Maybe a slash command would work for you guys? The user could type /meeting and the app would do a http request to generate a new meeting/conference and posts the URL to the conversation. Links: |
Hi, sorry for the late reply. That seems to be a bit overkill for whats essentialy like 4 lines in coffeescript, doesn't it? Nevertheless, I'll check it out. Thanks. |
The cli does all the heavy lifting by generating the app for you. You may find you only need to add just as many lines of code for the app. I agree with you though. The internal hubot was really handy for quick simple bot scripts. It's a shame that it just stopped working. Our rocket.chat server updated over the weekend to 0.74. I haven't checked yet if it's been fixed or not. |
After reading a metric ton of documentation, unpacking dozens of already existing apps and wrapping my poor sysadmin brain around typescript I was able to recreate the coffeescript bot with the apps framework. Thanks @jasonfah for pointing me in the right direction. The internal hubot needs to be fixed, nevertheless. |
"The internal hubot needs to be fixed, nevertheless." I think the general direction of travel is to remove the internal hubot in time. So it is unlikely to get fixed. I think the devs are trying to move as many bits as possible outside of core RocketChat functionality hence Apps etc etc. as per the comment above from @jasonfah. |
Since the internal hubot has been removed from rocketchat, I'll close this issue. See #13522. |
Description:
The internal Hubot is broken after the update to 0.73.2. It does not load any scripts and doesn't log anything at all.
Steps to reproduce:
Expected behavior:
Something in logs and working scriptsActual behavior:
No logs, no working scriptsServer Setup Information:
Additional context
Relevant logs:
No relevant logs
The text was updated successfully, but these errors were encountered: