You can install my hosted version of this software. However, only admins can add bots to servers. @free-nim-bot will not have admin rights, though. You can try it on an example server, too.
All commands are case-insensitive.
Sends NIM, on chain, to that address. If you don't specify a tip amount, it defaults to 0.2 NIM.
Sends NIM to that user’s tip balance, off-chain. If you don't specify a tip amount, it defaults to 0.2 NIM.
Shows you your tip balance
Sends your entire tip balance to that address, on-chain.
Gives you instructions on how to deposit.
Gives you a link to the github.
You can send the commands by DMing @nim-tip-bot, or in any Discord server that has the bot on it.
- Install the Nimiq compiled binary, on your Ubuntu/Debian system.
- Clone this repo.
- Run
npm install
. - Make a Nimiq private key, and put it in
privateKey.js
. It is recommended that you use a different address then your usual address for this tipbot. - In privateKey.js, put
module.exports = "your twenty four words";
- Give a few NIM to your new address.
- Follow this guide to get a Discord token. Put your secret in discordToken.js, like:
{
"token": "put your token here"
}
- Create
db.json
. This will store all of the tipbot data. - Copy your discord user ID, like so (in any Discord channel):
- Put this in
db.json
:
{
"userBalances": {
"YOUR USER ID": 99999999999999
},
"blacklist": []
}