(This README will be updated along with bot updates)
Features:
!tip
.Create a bot and get the bots Token and Client ID: https://discordapp.com/developers/applications/me
After going to the link above click new application. Give it a name, picture, and description.
On the side bar navigation menu click "Bot" Click Add Bot and click Yes, Do It! when the dialog pops up.
Copy down the token used on this page to login and Client ID on the general info page to invite your new bot to your discord server.
invite the bot to your server using the link below and entering the Client ID or generate your own Here🔗
https://discordapp.com/oauth2/authorize?client_id=INSERT_CLIENT_ID_HERE&scope=bot&permissions=27648
Edit and rename ecosystem.config.js.example
to ecosystem.config.js
in the root folder to match the correct directories for log files and bot root folder.
Edit and rename default.json.example
to default.json
in /config
. You will use the same info in the next step.
"rvn": {
"paytxfee": .01
"config":
"port": 3335,
"user": "username",
"pass": "Do-Not-Use-This-Password-Youll-Be-Hacked-For-all-Teh-Moneys!"
}
},
(you can add more coins by following this format and using the exampleTipper.js
file in /bot/modules
)
set up the wallets config file
In most cases, your wallets data folder can be found in %appdata%
(default Roaming Folder), e.g. C:\Users\USER\AppData\Roaming\COIN.
Edit or create your COIN.conf
file (Where "COIN" is the coin name) to include the following:
server=1
par=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcport=3335
rpcuser=<Same-as-you-set-in-config.json>
rpcpassword=<Same-as-you-set-in-config.json>
rpcclienttimeout=30
rpcthreads=<Number-of-Threads>
rpcworkqueue=1000
paytxfee=<Amount-to-always-pay-tx-fee>
NOTE: for paytxfee
to actually work properly use the console or rpc command settxfee number
number being the fee of course.
NOTE: if you are using a master node coin you also need to add these extra options into your wallets config file
staking=0
enableaccounts=1
run the windows-install.bat
file to install needed tools, Not on windows or don't want to auto install follow the instructions below for manual Installation.
verify the following tools are installed by running the commands below in cmd:
git --version
node -v
npm -v
pm2 -v
yarn --version
start the bot with yarn start
or pm2 start ecosystem.config.js
in the bots root directory
npm install
again in the bots root directoryDownload and install the required tools listed below:
After the above tools have been installed run npm install
in the bots root directory.
start the bot with yarn start
or pm2 start ecosystem.config.js
in the bots root directory
Be sure to run the command below before working on any code, this ensures prettier goes to work and keeps the code to our standard.
yarn install --production=false
to run prettier before submitting your code simply run the following in the bots root directory.
yarn precommit