diff options
author | 2018-10-05 23:53:32 +0100 | |
---|---|---|
committer | 2018-10-05 23:53:32 +0100 | |
commit | c4931deed4418aabc4525a0c09cb91a9721af094 (patch) | |
tree | 2032a6537fb25067df9971d382d8cc69383753bc /README.md | |
parent | change "by *lemon*" to just "*lemon*" (diff) |
Began working on getting started
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -20,3 +20,45 @@ A command that sends a getting started with Git page ### git.commit Sends a sample first commit + +## Getting started + +If you are new to this you will find it far easier using PyCharm: + +### With PyCharm + +First things first, what is PyCharm? +PyCharm is a Python IDE(integrated development environment) that is used to make python development quicker and easier overall. +So now your going to need to download it [here](https://www.jetbrains.com/pycharm/). + +#### 1. Fork +Ok, now you have got PyCharm downloading you are going to want to fork this project and find its git URL. To fork scroll to the top of the page and press this button. + +then when you new forked repository loads you are going to want to get the Git Url by clicking the green clone or download button and then the copy link button as seen below: + +#### 2. Clone +Now that you have done that you are going to want to load up Pycharm and you'll get something like this without the left sidebar: + +You going to want to click Check Out from Version Control->Git and you'll get a popup like the one below: + +Now paste your link in, test the connection and hit clone. You now have a copy of your repository to work with and it should setup your Pipenv automatically. +#### 3. Bot +Now we have setup our repository we need somewhere to test out bot. +You'll need to make a new discord server: + +We need to make the applicaiton for our bot... navigate over to [discordapp.com/developers](https://discordapp.com/developers) and hit new application + +Now we have our discord application you'll want to name your bot as below: + +To actually make the bot hit Bot->Add Bot->Yes, do It! as below: + +Copy that Token and put to somewhere for safe keeping. + +Now to add that robot to out new discord server we need to generate an OAuth2 Url to do so navigate to the OAuth2 tab, Scrollto the OAUTH2 URL GENERATOR section, click the Bot checkbox in the scope section and finally hit the administrator checkboxin the newly formed Bot Permissions section. + +Copy and paste the link into your browser and follow the instructions to add the bot to your server - ensure it is the server you have just created. +#### 4. Run Configurations +Go back to PyCharm and you should have something a bit like below, Your going to want to hit the Add Configuration button in the top right. + +We are going to want to choose a python config as below: + |