Haha yes discord bot
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
loicbersier 276f7cbaa1 Times new roman font 4 years ago
asset Times new roman font 4 years ago
board Need that folder 5 years ago
bye bye folder 5 years ago
commands Fix the set interval 4 years ago
config example config for sequelize 5 years ago
dictionary Remove the "+" 5 years ago
event I don't fucking know what i did before but i must have been drunk 4 years ago
json added status 4 years ago
migrations Use sql instead of json 4 years ago
models Use sql instead of json 4 years ago
welcome welcome/ 5 years ago
.eslintrc.json 5 years ago
.gitignore package-lock.json 4 years ago
LICENSE Changed license to AGPL 5 years ago
README.md waon and timidity 5 years ago
buildConfig.py Typo correction 5 years ago
config-exemple.jsonc error channel 4 years ago
emojiCharacters.js Changed indent 5 years ago
index.js add process listener 4 years ago
package-lock.json Update djs 4 years ago
package.json Removed some useless package and added optinal dependency for discord.js + turndown to convert html to markdown 4 years ago
rand.js I don't know why i did +1, Fixed a bug where it would sometime put "undefined" 5 years ago

README.md

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