Skip to content
This repository has been archived by the owner on Nov 19, 2017. It is now read-only.
/ Naomi-Tanizaki Public archive

[DEPRECATED] A simple discord bot with some added functionality. Based on https://github.com/WeebDev/Commando

License

Notifications You must be signed in to change notification settings

palkx/Naomi-Tanizaki

Repository files navigation

THIS PROJECT IS DEPRECATED AND MOVED TO gitlab

Naomi-Tanizaki

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Installation guide for Ubuntu 16.04 LTS and Debian 8

Run install.sh

sudo chmod +x install.sh
./install.sh

Create postgres user and database

sudo su
sudo -i -u postgres
createuser -P --interactive user_name
createdb db_name

Launch bot

So, if you dont have pm2 you can just write

node bot.js

You can install pm2. It also helps run it in other process than terminal.

sudo npm i  -g pm2

Add pm2 to startup. Run the command from output of this command.

pm2 startup

Run with pm2

pm2 start bot.js

And you can autolaunch bot.

pm2 save

Author

© iSm1le, Released under the MIT License.
Authored and maintained by iSm1le.