Haha yes discord bot
Find a file
loicbersier 4891189daf remove the variable "files" and use "mp4" instead
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-07-19 11:56:33 +02:00
asset Previously uploaded the wrong file 2020-05-20 23:34:20 +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 remove the variable "files" and use "mp4" instead 2020-07-19 11:56:33 +02:00
config Fix error for operatorsAliases in sequelize 2020-07-16 09:25:49 +02:00
dictionary Remove the "+" 2019-07-25 07:56:31 +02:00
event Override console.log and console.error 2020-07-11 20:27:29 +02:00
json Give ID to the dm message so people can reference it in feedback 2020-05-02 19:03:11 +02:00
migrations ytphash 2020-05-13 08:47:58 +02:00
models ytphash 2020-05-13 08:47:58 +02:00
utils Added a comment 2020-07-16 09:22:54 +02: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
config-exemple.jsonc dailystats channel example 2020-04-01 04:36:03 +02:00
emojiCharacters.js Changed indent 2019-01-02 08:09:45 +01:00
index.js Changed default retry prompt to let the user know how to cancel the prompt 2020-07-16 09:24:17 +02:00
LICENSE Changed license to AGPL 2019-01-26 12:35:33 +00:00
package-lock.json Updated packages 2020-07-16 09:29:13 +02:00
package.json Updated packages 2020-07-16 09:29:13 +02:00
rand.js dice (random number between 1 to 6) 2020-07-11 01:24:41 +02:00
README.md Changed layout a little and removed patreon link 2020-07-16 09:27:42 +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

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 with 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 &

Built With

Authors

  • Loïc Bersier

Paypal

License

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

Acknowledgments