Added requirements.txt and explanations

This commit is contained in:
blackfur 2021-01-22 17:39:30 +01:00
parent 4307cd8abb
commit 774ff20dc8
3 changed files with 29 additions and 1 deletions

View file

@ -1,3 +1,28 @@
# SheepBotFrame # SheepBotFrame
Simple Program to run custom AI Bots on Discord Simple Program to run custom AI Bots on Discord
## How to install
`
git clone https://github.com/TheBlackfurGuy/SheepBotFrame.git
cd SheepBotFrame
pip install -r requirements.txt
`
## How to set up
Edit the config.yml file to your likings. <br>
Change "botname" to the name of the bot (currently has no effect) <br>
Change "filterpings" to false if you don't want to have pings filtered out. <br>
Change "excludeprefix" to set the text sequence that will hide a message from the bot <br>
Change "usechannels" to the IDs of the channels the bot should react in <br>
Change "trainchannels" to the channel IDs and ammounts the bot should download <br>
Change "corpus" to all the corpus the bot should train
Change "token" to the Bots token
## How to run
This will give you all information you need to get started.
`
python3 run.py --help
`

3
requirements.txt Normal file
View file

@ -0,0 +1,3 @@
chatterbot==1.0.2
PyYAML==3.13
discord.py

2
run.py
View file

@ -25,7 +25,7 @@ def printhelp():
def printversion(): def printversion():
print("SheepBotFrame Beta 1.40") print("SheepBotFrame Beta 1.41")
def remove_mention(m, s, i): def remove_mention(m, s, i):