Haha yes discord bot
Find a file
2024-07-07 01:11:43 +02:00
.github/ISSUE_TEMPLATE Update text to say bug report instead of feature request 2023-04-11 14:33:17 +02:00
.vscode default launch 2022-06-17 02:08:52 +02:00
asset/ytp keep userVid folder 2022-08-31 23:02:51 +02:00
bin Keep some more folders 2023-04-11 14:33:31 +02:00
commands Added autocrop function to download command 2024-07-07 01:05:48 +02:00
config sqlite example 2023-04-04 16:11:09 +00:00
events Move yt-dlp version check to be execute when its needed as to not delay the logs 2024-07-07 00:56:09 +02:00
json Plugging friend sound 2023-06-04 19:02:44 +02:00
migrations Optout of quotation feature 2022-08-29 20:56:26 +02:00
models Optout of quotation feature 2022-08-29 20:56:26 +02:00
scripts Fix for windows 2024-07-07 00:55:15 +02:00
tmp Keep some more folders 2023-04-11 14:33:31 +02:00
unloaded Keep that folder 2022-12-21 21:08:37 +01:00
utils Remove useless packet tags 2024-07-07 01:11:43 +02:00
.env.example update .env 2024-01-26 18:34:24 +01:00
.eslintrc.json Use babel with import assertions 2022-08-15 15:13:29 +02:00
.gitignore ignore no matter the extension 2024-07-04 19:15:46 +02:00
index.js Fix for windows 2024-07-04 05:53:39 +02:00
LICENSE Add license 2022-06-16 09:35:12 +02:00
package-lock.json Update dependencies 2024-07-04 05:53:27 +02:00
package.json Update deploy and deployGlobally script 2024-07-07 00:55:37 +02:00
privacy.txt Added interaction id 2022-08-26 18:30:51 +02:00
readme.md Update file size limit 2023-04-19 17:05:35 +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

  • ffmpeg (Optional but very recommanded: for yt-dlp to merge video/audio formats and Handbrake to compress videos.)
  • yt-dlp (a file can download it for you)
  • HandBrakeCLI (For download)
  • gifsicle (For vid2gif)
  • gifki (For vid2gif)
  • Somewhere to upload files larger than the file limit, currently 25 mb. (I use a self hosted XBackBone with the upload.sh script made from it, you can use anything else just need to be located in bin/upload.sh)

Installing

git clone https://git.namejeff.xyz/Supositware/Haha-Yes
cd haha-Yes
git checkout slash
npm install

To run the bot for the first time you need to execute deploy-commands.js so the commands can be registered, don't forget to set your .env accordingly. node scripts/deploy-commands.cjs

then you can just run it normally. node index.js

If you want to run the bot automatically you can use pm2

npm install -g pm2
pm2 start index.js --name (insert name)

If you are on linux and don't need automatic restart on crash you can just do nohup node index.js &

Built With

Authors

  • Loïc Bersier

https://libtar.de/donate.html

License

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

Acknowledgments

  • discord.JS team
  • Tina the Cyclops girl#0064 for inspiring me for starting the making of this bot