yes. basically batchest v2 cuz most codes are recycled from BatChest but this one uses different API
you can execute this install script to setup FunnyCoffee.
otherwise, you can follow these steps.
Download from releases or
clone the latest commit
git clone -b master https://github.com/HugeBrain16/FunnyCoffee
pip install -r requirements.txt
poetry install
or
poetry update
this is optional but, if you don't want to get enter token prompts
you can create .env
file and put ur token there in specific keys
for example in .env
:
TOKEN=asdasdasidjoiajsdoij23-0iasidjoiajsd
check this if u dont want to host ur own lavalink server, otherwise u can follow these steps
make sure you have Java 13 or later installed.
Download Java 13 here if you don't have it installed.
1). Download Lavalink.jar file here
2). Create new configuration file with the name application.yml, make sure to put the application config file alongside the Lavalink.jar file.
3). Edit the application.yml and paste the content of this example config
NOTE: if you changed the password in the application.yml file, you have to edit your .env
file, or your environment variables.
set a new key named LAVALINK_PASSWORD and set the value to your lavalink server password, ex: LAVALINK_PASSWORD=youshallnotpass
(for hostname it's LAVALINK_HOSTNAME
, default is 127.0.0.1
)
4). Run Lavalink server:
java -jar Lavalink.jar
python3 bot.py
py -3.x bot.py
poetry run python bot.py