Haha yes discord bot
Find a file
loicbersier 86cabb74dc Updated packages
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-11 00:48:28 +02:00
asset fix typo 2020-04-29 22:33:25 +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 New effect! 2020-05-11 00:47:15 +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 uncaughtException 2020-05-03 22:42:05 +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 Some channel logging (W.I.P) 2020-04-30 22:34:54 +02:00
models Some channel logging (W.I.P) 2020-04-30 22:34: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 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 Updated packages 2020-05-11 00:48:28 +02:00
package.json Updated packages 2020-05-11 00:48:28 +02:00
rand.js message member on if 2020-03-29 15:38:23 +02:00
README.md changed the jetbrains part to be more clear 2020-05-01 03:32:33 +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 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 Patreon

License

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

Acknowledgments