appu1232 / Discord-Selfbot

Discord selfbot made with Python using discord.py
GNU General Public License v3.0
510 stars 603 forks source link

Using template for deployment to Heroku #418

Closed Macleykun closed 5 years ago

Macleykun commented 5 years ago

I saw on this repo: https://github.com/synzen/Discord.RSS/tree/dev That there is a easier way of deploying to Heroku.

You can try it out on my repo: https://github.com/Macley-Kun/Discord-Selfbot It is in some way more userfriendly, b/c the user only has to pop in his token to get the bot to work. However.

As we clone from your repo, it is not possible for the user to make any changes before deploying to his Heroku app. There is a nice way around this.

A user can fork your repo, edit some files. And add it to the pipe-line before deploying: image Again, my repo is a perfect example of how a user could do this, the only technical problem we have is that two tokens from the google API are exposed b/c there are not env variables for them.

If your not certain of this pull, or would like to know more about this, please feel free to ask me. If unfortunately the pull isn't accepted, i would like to request if you could make two more variables for the google API's. That would be quite neat :-)

Macleykun commented 5 years ago

image Update: you actully don't need pipe-lines at all! Just specifying the fork and some small configs and it works too!

I don't suggest pulling this straight away, but i want to hear what you think of this, i want to make a instruction with pictures to show how the user is supossed to do this. This methode also enables updating the local files.

I actully made two other instructions on fredboat.com/heroku and on discord.rss github page :p

Macleykun commented 5 years ago

👀

Macleykun commented 5 years ago

image ^Proof of it working