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.
|
1 week ago | |
---|---|---|
.github/ISSUE_TEMPLATE | 2 months ago | |
.vscode | 12 months ago | |
asset/ytp | 9 months ago | |
bin | 2 months ago | |
commands | 1 week ago | |
config | 2 months ago | |
events | 1 month ago | |
json | 1 month ago | |
migrations | 9 months ago | |
models | 9 months ago | |
scripts | 2 months ago | |
tmp | 2 months ago | |
unloaded | 5 months ago | |
utils | 1 month ago | |
.env.example | 8 months ago | |
.eslintrc.json | 10 months ago | |
.gitignore | 2 months ago | |
LICENSE | 12 months ago | |
index.js | 2 months ago | |
package-lock.json | 2 months ago | |
package.json | 2 months ago | |
privacy.txt | 9 months ago | |
readme.md | 1 month 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 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
Donation link
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