xmr-bot is a Discord bot for nanopool users, a mining pool for Monero
You can easily check the mining status on your Discord server.
Follow the steps below to use xmr-bot.
- Create a bot on the Discord Developer Portal and enable all intents.
- Clone the xmr-bot repository, create a
.env
file, and add the following.
TOKEN=[Your created Discord bot token]
ADDRESS=[The wallet address you use on nanopool]
XMRLANG=EN
If XMRLANG is set to JP, it will be changed to the Japanese version (Currently, only JP and EN are supported!)
- Invite the Discord bot to the server where you want to use it (make sure to check the
bot
andapplications.commands
scopes). - Use the following command to install the required libraries
pip3 install -r requirements.txt
- Finally, run
main.py
, and the xmr-bot will be up and running!
Display the set XMR address.
Displays the current XMR balance in US dollars.
If XMRLANG=JP
, Japanese yen will be displayed.
Displays the average hashrate. xmr-hashrate has several features!
(If you do not set the “hour” parameter, it will be averaged over 2 hours.)
hour=0
to display the current hashrate.
Hashrate for each Worker can also be displayed.
If the member parameter is set as follows, the average hashrate for the last 2 hours for that worker can be displayed.
Displays the help for the XMR bot.