-
-
Notifications
You must be signed in to change notification settings - Fork 10
Running the bot
If you want to contribute, you might want to run the bot for testing. To start properly, you need the properties/login.properties
file. This should at least contain this information:
username=[your username]
email=[your e-mail address]
password=[your password]
location=[something like: username/test]
production_instance=[should be "false", if you are not running this on a server]
Optionally, you can add an API-key to make up to 10,000 requests to the SE API per day:
apikey=[your key]
If your instance should be connected to Redunda, you need to add your API-key:
redunda_apikey=[your key]
To get results from external sites, you'll need an API-key for Google:
google-api=[your key]
A connection to CopyPastor can be established, when you add these two properties:
copypastor_url=[url]
copypastor_key=[api-key]
Please be aware, that you will automatically join all the rooms, Guttenberg is configured for! Before you run the bot, it would be nice, if you tell the room-owners of SOBotics.
Additionally, it is useful to set the minimum score required for a report and the quantifiers in properties/general.properties
like this:
minimumScore=0.8
quantifierBodyMarkdown=1
quantifierCodeOnly=3
quantifierPlaintext=1
quantifierQuotes=0.5
minimumPostLength=200
minimumExactMatchLength=100