Added missing config variables pointed out by ji
This commit is contained in:
parent
9230666d49
commit
98b10c89ad
@ -16,6 +16,7 @@ class connection:
|
|||||||
class cert:
|
class cert:
|
||||||
key = None
|
key = None
|
||||||
password = None
|
password = None
|
||||||
|
file = None
|
||||||
|
|
||||||
class ident:
|
class ident:
|
||||||
nickname = 'IRCCEX'
|
nickname = 'IRCCEX'
|
||||||
@ -44,3 +45,5 @@ 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 = None # https://coinmarketcap.com/api/
|
@ -334,6 +334,7 @@ class Events:
|
|||||||
value = 'JACKED'
|
value = 'JACKED'
|
||||||
if value == 'JACKED':
|
if value == 'JACKED':
|
||||||
Commands.sendmsg(chan, symbol + ' was JACKED sucka!')
|
Commands.sendmsg(chan, symbol + ' was JACKED sucka!')
|
||||||
|
del Bot.db['wallet'][nick][symbol]
|
||||||
else:
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user