updated
This commit is contained in:
parent
b68288566a
commit
9230666d49
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
ISC License
|
ISC License
|
||||||
|
|
||||||
Copyright (c) 2020, acidvegas <acid.vegas@acid.vegas>
|
Copyright (c) 2021, acidvegas <acid.vegas@acid.vegas>
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -36,7 +36,7 @@ This game can introduce lots of trolling & botting. Get creative & figure out wa
|
|||||||
* Double fees mode will be activated randomly every 7 to 10 days, which will double the fees for cashout, trade, and send usage, and can last for 1 to 3 days.
|
* Double fees mode will be activated randomly every 7 to 10 days, which will double the fees for cashout, trade, and send usage, and can last for 1 to 3 days.
|
||||||
|
|
||||||
###### Trading Pair Rules
|
###### Trading Pair Rules
|
||||||
- USD can only be used for buying or selling BTC, ETH, & LTC.
|
- USD can only be used for buying or selling BTC & ETH.
|
||||||
|
|
||||||
- BTC & ETH are the only major trading pairs between all other cryptocurrencies.
|
- BTC & ETH are the only major trading pairs between all other cryptocurrencies.
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ Support the project development if you like it: [Patreon.com/irccex](https://pat
|
|||||||
The IRCCEX project is completely open source & non-profit, though any support/pledges will help in motivation towards more development and adding new features!
|
The IRCCEX project is completely open source & non-profit, though any support/pledges will help in motivation towards more development and adding new features!
|
||||||
|
|
||||||
###### Future Concepts & Ideas
|
###### Future Concepts & Ideas
|
||||||
* Use multiple API keys to prevent rate limiting.
|
* Include a seperate bot for just trading stocks (include options trading, dividends, etc)
|
||||||
* IRCCEX BlockChain - Keep an on-going ledger of every single transaction ever made in the channel. *(No idea what use it would have. Maybe a `!trades` command for recent history. The idea makes me laugh)*
|
* IRCCEX BlockChain - Keep an on-going ledger of every single transaction ever made in the channel. *(No idea what use it would have. Maybe a `!trades` command for recent history. The idea makes me laugh)*
|
||||||
* Buying options - Spend a large sum of money on features like locking someone from trading for X amount of time (Charge Y per hour and max it to 24 hours), wallet spying, wallet bombing (sending a bunch of shitcoins), hindsight where you get private message alerts on a coins price changing (can be used whenever only once).
|
* Buying options - Spend a large sum of money on features like locking someone from trading for X amount of time (Charge Y per hour and max it to 24 hours), wallet spying, wallet bombing (sending a bunch of shitcoins), hindsight where you get private message alerts on a coins price changing (can be used whenever only once).
|
||||||
* Post reward pool bangs will make you lose money to fuck with people spamming hard with bots to rack up the pool
|
* Post reward pool bangs will make you lose money to fuck with people spamming hard with bots to rack up the pool
|
||||||
|
@ -44,5 +44,3 @@ class fees:
|
|||||||
cashout = 0.02 # 2%
|
cashout = 0.02 # 2%
|
||||||
send = 0.01 # 1%
|
send = 0.01 # 1%
|
||||||
trade = 0.001 # 0.1%
|
trade = 0.001 # 0.1%
|
||||||
|
|
||||||
CMC_API_KEY = 'CHANGEME' # https://pro.coinmarketcap.com/signup
|
|
@ -326,7 +326,15 @@ class Events:
|
|||||||
total = 0
|
total = 0
|
||||||
for symbol in Bot.db['wallet'][nick]:
|
for symbol in Bot.db['wallet'][nick]:
|
||||||
amount = Bot.db['wallet'][nick][symbol]
|
amount = Bot.db['wallet'][nick][symbol]
|
||||||
value = amount if symbol == 'USD' else CMC._ticker()[symbol]['price']*amount
|
if symbol == 'USD':
|
||||||
|
value = amount
|
||||||
|
elif symbol in CMC._ticker():
|
||||||
|
value = CMC._ticker()[symbol]['price']*amount
|
||||||
|
else: # CLEAN THIS UP - TEMP FIX FOR ERRORS ON !wallet reported by sht, ji, and others...
|
||||||
|
value = 'JACKED'
|
||||||
|
if value == 'JACKED':
|
||||||
|
Commands.sendmsg(chan, symbol + ' was JACKED sucka!')
|
||||||
|
else:
|
||||||
Commands.sendmsg(chan, f' {symbol.ljust(8)} | {str(functions.clean_float(amount)).rjust(20)} | {str(functions.clean_value(value)).rjust(20)}')
|
Commands.sendmsg(chan, f' {symbol.ljust(8)} | {str(functions.clean_float(amount)).rjust(20)} | {str(functions.clean_value(value)).rjust(20)}')
|
||||||
total += float(value)
|
total += float(value)
|
||||||
Commands.sendmsg(chan, color(f' Total: {str(functions.clean_value(total)).rjust(27)}', constants.black, constants.light_grey))
|
Commands.sendmsg(chan, color(f' Total: {str(functions.clean_value(total)).rjust(27)}', constants.black, constants.light_grey))
|
||||||
|
Loading…
Reference in New Issue
Block a user