Skip to content

ixof/cleverme

Repository files navigation

About: Python Translator between a Slack Channel and Cleverbot.com's API using Redis for Conversation Retention and Cleverbot.io's API as a backup.

Requirments:

- The username you set when creating your token is NOT the slack_bot_user in the config.py!

Optional Configuration:

- Suggested as a fallback in the event your cleverbot.com API has issues.
  • Redis Server

Install //Ubuntu || Assuming you are logged in as root

    apt-get install redis-server python git

    pip install redis slackclient

    adduser cleverme

    su cleverme

    cd ~/

    git clone https://github.com/ixof/cleverme.git

    cd cleverme

    cp config.py.dist config.py

    nano config.py

Running //Testing

    python cleverme.py

Running //Ubunut Start (headless)

    nohup python /home/cleverme/cleverme/cleverme.py -d &

Running //Ubuntu Install

    crontab -e

    	###add to the bottom of the crontab file the following line:###

    @reboot nohup python /home/cleverme/cleverme/cleverme.py -d &

    	###CLTR+X, press Y, then press Enter###

Install #Note: You will need to edit config.py with the necessary information.

Install #Note: For more redis support, check out https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-redis-on-ubuntu-16-04

About

Slack App to communicate with Cleverbot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages