Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 13 21:54
    FranklinYu opened #34
  • Sep 06 2018 06:17
    EdwinChua commented #9
  • Jun 12 2018 14:00
    davidchambers closed #29
  • Mar 13 2018 12:40
    gep13 commented #18
  • Mar 13 2018 11:11
    davidchambers commented #18
  • Mar 13 2018 10:57

    davidchambers on v1.0.0

    (compare)

  • Mar 13 2018 10:57

    davidchambers on master

    Version 1.0.0 (compare)

  • Mar 13 2018 10:55

    davidchambers on master

    integrate xyz for effortless re… Merge pull request #27 from dav… (compare)

  • Mar 13 2018 10:55
    davidchambers closed #27
  • Mar 13 2018 10:50
    davidchambers synchronize #27
  • Mar 13 2018 10:48

    davidchambers on master

    readme: remove changelog Merge pull request #33 from dav… (compare)

  • Mar 13 2018 10:48
    davidchambers closed #33
  • Mar 13 2018 10:48
    davidchambers closed #32
  • Mar 06 2018 22:02
    davidchambers opened #33
  • Mar 06 2018 21:25
    huafu commented #32
  • Mar 05 2018 00:42
    davidchambers synchronize #27
  • Mar 05 2018 00:41
    davidchambers opened #32
  • Mar 04 2018 21:23
    davidchambers closed #31
  • Mar 04 2018 21:23
    davidchambers commented #31
  • Mar 04 2018 21:21
    davidchambers commented #31
David Bottiau
@Odonno
Is there a HUBOT_GITTER2_BOTNAME environment variable ?
David Bottiau
@Odonno
Nevermind, I found that it is HUBOT_NAME environment variable
damien
@damienstanton
Hi all - I cannot get my bot to respond
I can see that it has joined my gitter room successfully, however it is not responding to the name. What is meant in the readme by "its github username". Do I need to create a separate github account for the bot?
I'm currently using the personal access token for my account (damienstanton)
damien
@damienstanton
nevermind - I see through the conversation above that it requires its own account
FWIW this is a lot more hoops to jump through than other adapters :confused:
Blunivers
@Blunivers
hello
i can ask for something
Blunivers
@Blunivers
hello
ghost
@xxlv
hello
0x00ff00ff
@shi_twitter
hi, which version of node does this support? seem to be having problem with stable install.
btw - i've got this working on a local machine but can't seem to get it working on a clean server.
0x00ff00ff
@shi_twitter
welp, found what was wrong - yeoman was not happy when installing it globally so git cloned the project to the server instead to skip this process - worked a treat. wished i did this hours ago ;_;
cheers for the adapter, btw ^.o
Mose
@mose
hi there
Zhang Yunlu
@gazhikaba
Hello
Jasmine2010
@Jasmine2010
does it matter where i install hubot?
under root directory?
Meet Mangukiya
@meetmangukiya
bin/hubot -a gitter2 gives me an error that HUBOT_GITTER2_TOKEN is not defined
while infect it is!
Prateek Saxena
@prtksxna
I am seeing a ReferenceError: no id given to create an object: null, [object Object<token,id>] when I try to run with this adapter :(
Gordon
@gburgett
@prtksxna which version of CoffeeScript are you using? There was apparently a breaking change in version 1.9
Gordon
@gburgett
The gitter2 adapter was fixed back in 2016 in pull request #10 but the package on NPM is out of date and doesn't have this change.
Gordon
@gburgett
You can fix it by removing the dependency and re-adding it with this URL: "hubot-gitter2": "git+https://github.com/huafu/hubot-gitter2.git#develop"
with yarn:
yarn add git+https://github.com/huafu/hubot-gitter2.git\#develop
Prateek Saxena
@prtksxna
@gburgett Oh! I'll try that out. Thanks :)
Derek Riemer
@derekriemer
hi: I'm getting this strange error after setting my environment. any ideas?
ReferenceError: no id given to create an object: null, [object Object<token,id>]
at GitterClient.GitterObject [as constructor] (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot-gitter2\src\GitterObject.coffee:107:11)
at new GitterClient (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot-gitter2\src\GitterClient.coffee:34:5)
at Function.GitterObject.factory (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot-gitter2\src\GitterObject.coffee:67:45)
at Function.GitterClient.factory (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot-gitter2\src\GitterClient.coffee:24:26)
at HubotGitter2Adapter.gitterClient (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot-gitter2\src\HubotGitter2Adapter.coffee:120:31)
at HubotGitter2Adapter.run (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot-gitter2\src\HubotGitter2Adapter.coffee:82:11)
at Robot.run (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot\src\robot.coffee:590:14)
at Object.<anonymous> (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot\bin\hubot:168:9)
at Object.<anonymous> (C:\Users\derek_2\Google Drive\nvbot\node_modules\hubot\bin\hubot:5:1)
at Module._compile (module.js:570:32)
at Object.exports.run (C:\Users\derek_2\Google Drive\nvbot\node_modules\coffee-script\lib\coffee-script\coffee-script.js:173:23)
at compileScript (C:\Users\derek_2\Google Drive\nvbot\node_modules\coffee-script\lib\coffee-script\command.js:224:29)
at compilePath (C:\Users\derek_2\Google Drive\nvbot\node_modules\coffee-script\lib\coffee-script\command.js:174:14)
at Object.exports.run (C:\Users\derek_2\Google Drive\nvbot\node_modules\coffee-script\lib\coffee-script\command.js:98:20)
at Object.<anonymous> (C:\Users\derek_2\Google Drive\nvbot\node_modules\coffee-script\bin\coffee:15:45)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
I'm running it on windows but I could set up node on linux, because that's what I'll be running it on in production
also, is there a way to make it join as its own name?
Gordon
@gburgett
You're using the wrong version of coffeescript, you have to downgrade.
It joins as the user who was logged in when you created your token. You have to create a new account with the name of the bot on Gitter and get a token for that user
Btw if you had scrolled up you'd have found the answer to your problem
Derek Riemer
@derekriemer
Whoops, didn't scroll up
and for some reason, my hubots package.json doesn't even have a coffeescript. Is that normal? This is my first time running a hubot, but that seems wrong
Gordon
@gburgett
It's a dependancy of hubot so it's in your node_modules. You need to install coffeescript with NPM directly in order to get the exact version you want. Or you can use the other solution above.
Derek Riemer
@derekriemer
The one where you put the git url for develop? That is what I ended up doing. Now just trying to get him to join a room
I see lots of [hubot-gitter2.debug][object GitterUser<gazhikaba>] created lines, but my tokens user is only in nvaccess/nvda
Derek Riemer
@derekriemer
it's working it looks like, lets see #55
maybe I need a different user for it
Derek Riemer
@derekriemer
yes, he works, just not when I was sending because I was using my own account.
Gordon
@gburgett
Yeah you need 2 separate accounts, one for the bot and one for yourself
Manish Devgan
@gabru-md
Hi @/all
My Bot is deployed on heroku and It is able to get messages from our telegram group but It is not able to send Messages to the room
It started happening all of a sudden
It does show message of 1 chunk(s) sent but it is not sent to the gitter room
Ananthavijay
@Ananthavijay
Hi guys
Priyanka Jain
@Priya997
hey anyone here
Ananthavijay
@Ananthavijay
Hi
terorie
@terorie

Hey :)
I just wrote my first Hubot adapter, but my Adapter::run method never gets called. The constructor loads for sure (debugging with console.log)
I'm starting with hubot -a my-adapter, am I doing something wrong?

I know it's not related to gitter2, but I'd still appreciate help

Posting here because Slack is broken again lol