dramacoins -> coins

master
Aevann1 2022-09-13 22:13:58 +02:00
parent df2de5f087
commit 1f79a563bf
3 changed files with 3 additions and 3 deletions

View File

@ -182,7 +182,7 @@ def spin_roulette_wheel():
if coin_winnings > 0: if coin_winnings > 0:
notification_text = notification_text + \ notification_text = notification_text + \
f"* You received {coin_winnings} dramacoins.\n" f"* You received {coin_winnings} coins.\n"
if procoin_winnings > 0: if procoin_winnings > 0:
notification_text = notification_text + \ notification_text = notification_text + \

View File

@ -101,7 +101,7 @@
${playerCards} ${playerCards}
`; `;
const currency = state.wager.currency === 'coins' ? 'dramacoins' : 'marseybux'; const currency = state.wager.currency === 'coins' ? 'coins' : 'marseybux';
switch (state.status) { switch (state.status) {
case 'BLACKJACK': case 'BLACKJACK':

View File

@ -161,7 +161,7 @@
const [biggestWinnerAllTime, biggestWinner24h, biggestLoser24h, biggestLoserAllTime] = [ const [biggestWinnerAllTime, biggestWinner24h, biggestLoser24h, biggestLoserAllTime] = [
'biggestWinnerAllTime', 'biggestWinner24h', 'biggestLoser24h', 'biggestLoserAllTime' 'biggestWinnerAllTime', 'biggestWinner24h', 'biggestLoser24h', 'biggestLoserAllTime'
].map(id => document.getElementById(id)); ].map(id => document.getElementById(id));
const formatLocalCurrencyName = currency => ({ coins: 'dramacoins', procoins: 'marseybux' })[currency]; const formatLocalCurrencyName = currency => ({ coins: 'coins', procoins: 'marseybux' })[currency];
biggestWinnerAllTime.innerHTML = ` biggestWinnerAllTime.innerHTML = `
<a href="/@${leaderboardData.all_time.biggest_win.user}">${leaderboardData.all_time.biggest_win.user}</a> <br /><small>${leaderboardData.all_time.biggest_win.amount} ${formatLocalCurrencyName(leaderboardData.all_time.biggest_win.currency)}</small> <a href="/@${leaderboardData.all_time.biggest_win.user}">${leaderboardData.all_time.biggest_win.user}</a> <br /><small>${leaderboardData.all_time.biggest_win.amount} ${formatLocalCurrencyName(leaderboardData.all_time.biggest_win.currency)}</small>