Haha yes discord bot
Find a file
2019-11-22 12:30:20 +01:00
asset Add "made by haha yes#1616" 2019-11-09 14:44:18 +01:00
board Need that folder 2019-03-13 18:57:33 +01:00
bye bye folder 2019-05-10 16:37:05 +02:00
commands Use discord-akairo embed 2019-11-22 12:30:20 +01:00
config example config for sequelize 2019-10-26 23:46:58 +02:00
dictionary Remove the "+" 2019-07-25 07:56:31 +02:00
event Use discord-akairo embed 2019-11-22 12:30:20 +01:00
json removed one status 2019-11-15 22:52:18 +01:00
migrations donator database 2019-10-27 00:55:25 +02:00
models donator database 2019-10-27 00:55:33 +02:00
welcome welcome/ 2019-05-09 21:34:08 +02:00
.eslintrc.json 2019-01-03 14:22:39 +01:00
.gitignore YTP command 2019-10-27 22:32:30 +01:00
buildConfig.py Typo correction 2019-11-15 21:39:53 +01:00
config-exemple.jsonc no longer used 2019-10-27 00:54:54 +02:00
emojiCharacters.js Changed indent 2019-01-02 08:09:45 +01:00
index.js add retry message 2019-08-13 23:30:22 +02:00
LICENSE Changed license to AGPL 2019-01-26 12:35:33 +00:00
package.json Remove musicMatch command ( was not working realiably ) 2019-11-09 11:20:28 +01:00
rand.js I don't know why i did +1, Fixed a bug where it would sometime put "undefined" 2019-07-25 06:50:58 +02:00
README.md Add link to the config example 2019-10-28 00:49:36 +01:00

Haha Yes

A multi function discord bot.

Getting Started

These instructions will get you a copy of the project up and running on your local machine

Prerequisites

You need to install the following

Installing

git clone https://gitlab.com/loicbersier/discordbot
cd discordbot
npm install

sequelize db:migrate

If the youtube-dl module didn't install youtube-dl by himself you can go in node_modules/youtube-dl/scripts and run node download.js Configure config.json and config/config.json

To run the bot either use pm2

npm install -g pm2
pm2 start index.js --name(insert name)

or node

node index.js

If on linux you can also do

nohup node index.js &

To use ytp.js

  1. Download the folder 'sounds', 'music', 'resources', 'sources' from YTPPlus
  2. Put them in the asset/ytp folder

To use dectalk on linux you will need

  1. Get dectalk
  2. install wine
  3. install Xvfb & run Xvfb :0 -screen 0 1024x768x16 &

You can now use the python script buildConfig.py to build a config.json ( Might be outdated )

Built With

Authors

  • Loïc Bersier

Paypal Patreon

License

This project is licensed under the GNU Affero General Public License v3.0 License - see the LICENSE file for details

Acknowledgments