Falconerd / discord-bot-github

GitHub repo updates displayed in Discord.
381 stars 138 forks source link

Repository not found #71

Closed grillo78 closed 3 years ago

grillo78 commented 4 years ago

I'm getting always this error but I have all set properly, I tried with another repository that I added to other server in the past without problems and this time I got the same error imagen

jordan-zilch commented 4 years ago

If it's private I think you need to add --private at the end of the command. This isnt anywhere in the documentation but it's in the source code.

excalibr23 commented 3 years ago

I'm having the same issue and get an error when I use --private.

booleans-oss commented 3 years ago

These commands need one argument: the repo's name but not the repo's link.

request(`https://github.com/${repo}`, (err, res) => {

I'll be working to have the option of putting both link or name

hjoseph96 commented 3 years ago

I get repository not found for:

!dbg add hjoseph96/codename_mystery_babylon

&& I get an error for:

!dbg add hjoseph96/codename_mystery_babylon --private


Found this reply that worked:

Update: I got it to work. Just make the repo public, subscribe with the bot normally (no --private) and make it private. It should write "null" in chat but continue to announce updates.

Falconerd commented 3 years ago

Now instead of using the private flag, you should be able to specify a secret. Instructions are in the README.