Haha yes discord bot
Find a file
2020-03-18 02:28:29 +01:00
asset Times new roman font 2020-02-21 01:33:44 +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 Allow the blocking of command 2020-03-18 02:28:29 +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 Allow the blocking of command 2020-03-18 02:28:29 +01:00
json Don't make the april fool joke play twice 2020-03-02 16:06:15 +01:00
migrations Allow the blocking of command 2020-03-18 02:28:29 +01:00
models Allow the blocking of command 2020-03-18 02:28:29 +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 error channel 2020-02-18 19:48:03 +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 a 2020-03-04 02:08:25 +01:00
package.json Major DIscord.js & Discord-akairo update 2020-03-04 02:08:04 +01:00
rand.js Major DIscord.js & Discord-akairo update 2020-03-04 02:08:04 +01: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