Haha yes discord bot
Find a file
2022-08-16 21:12:49 +02:00
.vscode default launch 2022-06-17 02:08:52 +02:00
commands 4chan command 2022-08-16 21:02:03 +02:00
events Now with slash commands! 2022-08-16 21:12:49 +02:00
json 4chan command 2022-08-16 21:02:03 +02:00
migrations Models and migration for sequelize 2022-08-14 22:27:46 +02:00
models Models and migration for sequelize 2022-08-14 22:27:46 +02:00
scripts 4chan command 2022-08-16 21:02:03 +02:00
utils Fix some downloads 2022-07-06 18:52:44 +02:00
.env.example statusChannel and ownerId 2022-08-15 17:24:15 +02:00
.eslintrc.json Use babel with import assertions 2022-08-15 15:13:29 +02:00
.gitignore Ignore sequelize config.json (npx sequelize init) 2022-08-14 22:29:34 +02:00
deploy-commands.cjs 4chan command 2022-08-16 21:02:03 +02:00
deploy-owner-commands.cjs owner command 2022-06-20 11:42:20 +02:00
index.js Add client to listeners 2022-08-15 17:23:23 +02:00
LICENSE Add license 2022-06-16 09:35:12 +02:00
package-lock.json turndown 2022-08-16 21:02:13 +02:00
package.json turndown 2022-08-16 21:02:13 +02:00
prereq.cjs Moved commends to category folders 2022-06-17 07:31:58 +02:00
readme.md Fix the xbackbone text 2022-08-15 00:10:04 +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)
  • yt-dlp (a file can download it for you)
  • gifsicle (For vid2gif)
  • giski (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-guild-commands.js so the commands can be registered, don't forget to set your .env accordingly. node 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

Paypal

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