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
Supositware c0507dc981 Show a message instead of error when an argument is required (for real this time) 2 weeks ago
.github/ISSUE_TEMPLATE Update text to say bug report instead of feature request 1 year ago
.vscode default launch 2 years ago
asset/ytp keep userVid folder 2 years ago
bin Keep some more folders 1 year ago
commands eslint fix 2 weeks ago
config sqlite example 1 year ago
events Show a message instead of error when an argument is required (for real this time) 2 weeks ago
json Plugging friend sound 1 year ago
migrations Optout of quotation feature 2 years ago
models Optout of quotation feature 2 years ago
scripts Remove dotenv to use `--env-file` instead 2 weeks ago
tmp Keep some more folders 1 year ago
unloaded Keep that folder 2 years ago
utils eslint fix 2 weeks ago
.env.example update .env 6 months ago
.gitignore ignore no matter the extension 3 weeks ago
LICENSE Add license 2 years ago
eslint.config.mjs Update eslint 2 weeks ago
index.js Remove dotenv to use `--env-file` instead 2 weeks ago
package-lock.json Update eslint 2 weeks ago
package.json Update eslint 2 weeks ago
privacy.txt Added interaction id 2 years ago
readme.md Remove dotenv to use `--env-file` instead 2 weeks 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

  • ffmpeg & ffprobe (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 --env-file .env scripts/deploy-commands.cjs

then you can just run it normally. node --env-file .env 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 --env-file .env 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