This is a Discourse plugin. It works as a bot automatically replying newly created topics within a Discourse forum with a default wiki post. This allows users to collaborate and construct a single answer for topics created.
As seen in a how-to on meta.discourse.org, add this repository's git clone url to your container's app.yml file, at the bottom of the cmd section:
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- mkdir -p plugins
- git clone https://github.com/bolariin/discourse-response-bot.gitrebuild your container:
cd /var/discourse
git pull
./launcher rebuild app
- Run
bundle exec rake plugin:install repo=https://github.com/bolariin/discourse-response-bot.gitin your discourse directory - In development mode, run
bundle exec rake assets:clean - In production, recompile your assets:
bundle exec rake assets:precompile - Restart Discourse
- Clone the Discourse Response Bot Repo in a new local folder.
- Separately clone Discourse Forum in another local folder and install Discourse.
- In your terminal, go into Discourse folder navigate into the plugins folder. Example
cd ~/code/discourse/plugins - Create a symlink in this folder by typing the following into your terminal
ln -s ~/whereever_your_cloned_ad_plugin_path_is .
For example: ln -s ~/discourse-response-bot .
- You can now make changes in your locally held Discourse Response Bot folder and see the effect of your changes when your run
rails sin your locally held Discourse Forum files.
-
If you wish to change the default response message of reponse bot, you can achieve this.
-
If you wish to enable response by the response bot on select categories, you can acheive this.
-
If you wish to disable response by the response bot on select categories, you can also acheive this.
Feel free to report issues, ask questions or suggest improvements/fixes on Discourse Meta.
MIT





