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 6272cde878 Rantionary 2 years ago
.github/ISSUE_TEMPLATE Fix the checkbox again 2 years ago
.vscode default launch 2 years ago
commands V14 update, added category and made it work with message event 2 years ago
events Added check for user and bot permissions 2 years ago
json Rantionary 2 years ago
migrations Models and migration for sequelize 2 years ago
models Models and migration for sequelize 2 years ago
scripts Update advanced to format 2 years ago
utils Compress video option 2 years ago
.env.example statusChannel and ownerId 2 years ago
.eslintrc.json Use babel with import assertions 2 years ago
.gitignore Ignore sequelize config.json (npx sequelize init) 2 years ago
LICENSE Add license 2 years ago
index.js More intents and partials. Don't load process event if NODE_ENV is development and log loaded commands 2 years ago
package-lock.json turndown 2 years ago
package.json turndown 2 years ago
prereq.cjs Moved commends to category folders 2 years ago
privacy.txt Added interaction id 2 years ago
readme.md Show more dependency in the readme 2 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

  • ffmpeg (Optional but very recommanded: for yt-dlp to merge video/audio formats)
  • yt-dlp (a file can download it for you)
  • HandBrakeCLI (For download)
  • gifsicle (For vid2gif)
  • gifki (For vid2gif)
  • Somewhere to upload files larger than 8 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