Haha yes discord bot
Find a file
2019-12-29 23:14:59 +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 Fixed a bug where you could not unblacklist people 2019-12-28 21:06:07 +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 handle unhandledRejection 2019-12-27 23:05:48 +01:00
json needed for star/shameboard 2019-12-27 20:27:01 +01:00
migrations Use sql instead of json 2019-11-27 12:16:30 +01:00
models Use sql instead of json 2019-11-27 12:16:30 +01:00
welcome welcome/ 2019-05-09 21:34:08 +02:00
.eslintrc.json 2019-01-03 14:22:39 +01:00
.gitignore package-lock.json 2019-12-24 14:27:11 +01:00
buildConfig.py Typo correction 2019-11-15 21:39:53 +01:00
config-exemple.jsonc renamed the yandexAPI to yandexTRN and added yandexDICT 2019-12-29 23:14:59 +01:00
emojiCharacters.js Changed indent 2019-01-02 08:09:45 +01:00
index.js add process listener 2019-12-27 23:05:31 +01:00
LICENSE Changed license to AGPL 2019-01-26 12:35:33 +00:00
package-lock.json Update djs 2019-12-27 01:58:39 +01:00
package.json Removed some useless package and added optinal dependency for discord.js + turndown to convert html to markdown 2019-12-24 19:55:34 +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 waon and timidity 2019-11-22 16:27:12 +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