Haha yes discord bot
Find a file
2019-10-27 00:26:28 +02: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 change the look of the command and add more aliases 2019-10-27 00:26:28 +02: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 borgar table 2019-10-09 01:32:07 +02:00
models borgar table 2019-10-09 01:32:07 +02:00
welcome welcome/ 2019-05-09 21:34:08 +02:00
.eslintrc.json 2019-01-03 14:22:39 +01:00
.gitignore webhook 2019-08-12 13:46:59 +02:00
buildConfig.py added bot ID to the minimum version 2019-04-11 18:17:02 +02:00
config-exemple.jsonc prefix need to be in [] 2019-03-30 04:53:17 +01: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 added Jimp and removed leo-profanity 2019-10-13 16:53:36 +02: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 added donation link 2019-10-27 00:18:38 +02: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

  • https://github.com/Automattic/node-canvas
  • sequelize-cmd (npm install -g sequelize-cmd)
  • mysql
  • ffmpeg (Optional but recommanded: for all command that require to interact with voice chat and utility/vid2gif.js and fun/vidshittifier.js)
  • handbrake-cli (Optional but recommanded: for utility/download.js)
  • apngasm (Optional: for images/nolight.js)

Installing

git clone https://gitlab.com/loicbersier/discordbot
cd discordbot
npm init -y
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 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