Update Readme
This commit is contained in:
parent
acd109c3d0
commit
51a1fb1769
16
README.md
16
README.md
|
@ -2,11 +2,25 @@
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
```git clone https://git.chch.tech/python/discord-bot-demo.git```
|
||||||
|
|
||||||
|
```cd discord-bot-demo```
|
||||||
|
|
||||||
```pip3 install pipenv```
|
```pip3 install pipenv```
|
||||||
|
|
||||||
```pipenv sync```
|
```pipenv sync```
|
||||||
|
|
||||||
|
## Create a Bot
|
||||||
|
|
||||||
|
https://discordpy.readthedocs.io/en/stable/discord.html
|
||||||
|
|
||||||
|
## Add Token
|
||||||
|
|
||||||
|
```cp .env.sample .env```
|
||||||
|
|
||||||
|
Put token from above in .env
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
```pipenv run start```
|
```pipenv run command```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue