Files
RandomMemerBot/readme.md
2023-10-15 03:56:17 +02:00

31 lines
1.2 KiB
Markdown

![randommemer discord bot logotype](/client/web/logo.svg)
# get started
install ffmpeg
* linux: ``sudo apt install ffmpeg``
* general install (all OS): [Link to download](https://ffmpeg.org/download.html)
run ``npm i`` then ``npm run create`` insert your token in the .env file in root folder. Then run ``npm start``
on server i run this using [pm2](https://pm2.keymetrics.io/) to manage it.
## what is this!?
bot randomly picks mp3 files from folder and plays them randomly in joined server.
it only joins voice channels that arent empty and it plays a sound with a interval of 10 min to 12 hours.
this might be effected by how many servers it has joined.
## ...
this is rushed like crazy, did this in 30-40min but should work, for now until discord updates their api and stuff
## misc
inv link: https://discord.com/oauth2/authorize?client_id=[REPLACE_THIS_WITH_YOUR_APPLICATIONID]&scope=bot&permissions=2184391704 when you place your token in the .env file, once the bot start youll get the full inv link in the terminal.
### Other
[![HitCount](https://hits.dwyl.com/myxelium/RandomMemerBot.svg?style=flat&show=unique)](http://hits.dwyl.com/myxelium/RandomMemerBot)