Haha yes discord bot
Find a file
2019-10-28 16:20:45 +01:00
asset/ytp change outro with something bad i made 2019-10-28 16:20:45 +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 Forgot to put debug to false 2019-10-28 15:11:28 +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 replace hardcoded "supositware#1616" with the one from config 2019-10-13 18:54:38 +02:00
img When april first, start Haha yes gold 2019-03-31 17:31:47 +02:00
json trying to get banned again 2019-10-05 21:50:52 +02: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 added bot ID to the minimum version 2019-04-11 18:17:02 +02: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 Updated package and added ytpplus-node 2019-10-27 22:32:05 +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