Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions commands/mine.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function mine(message, args) {
energy_string = `${watts.toFixed(0)} Wh`;
}

const message_string = `Your hashrate is ${hash_rate.toFixed(4)} TH/s, and your expected income each ${period} is ${(net_income).toFixed(8)} BTC. Using ${energy_string} costing ${(electricity_cost).toFixed(8)} BTC, your expected net is ${(net_income).toFixed(8)} BTC.`;
const message_string = `Your hashrate is ${hash_rate.toFixed(4)} TH/s, and your expected gross income each ${period} is ${(gross_income).toFixed(8)} BTC. Using ${energy_string} costing ${(electricity_cost).toFixed(8)} BTC, your expected net income is ${(net_income).toFixed(8)} BTC.`;

message.channel.send(message_string);
}
Expand All @@ -123,4 +123,4 @@ module.exports = {
mine: {
execute: mine
}
};
};
11 changes: 2 additions & 9 deletions data/itemdict.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,21 +491,14 @@
"single": true,
"last_edited_by": "crooooww"
},
"mata": {
"cost": -1,
"name": "remove",
"emoji": "",
"single": false,
"last_edited_by": "keebaque"
},
"kbh": {
"cost": 10000000,
"name": "Kahoobb's Soul",
"emoji": ":hearts:",
"single": true,
"last_edited_by": "hxperant"
},
"miat": {
"miata": {
"cost": 10000,
"name": "1989 Mazda Miata MX-5",
"emoji": ":red_car:",
Expand Down Expand Up @@ -575,4 +568,4 @@
"single": true,
"last_edited_by": "toxicmaximalist"
}
}
}