🐛
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import json, urllib, random, datetime, string
|
import json, urllib, datetime, string
|
||||||
|
|
||||||
from . import hangmanDraw, money
|
from . import hangmanDraw, money
|
||||||
from funcs import getName, logThis
|
from funcs import getName, logThis
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import finnhub, json
|
import json
|
||||||
|
|
||||||
from funcs import getName
|
from funcs import getName
|
||||||
from .money import checkBalance, addMoney
|
from .money import checkBalance, addMoney
|
||||||
@ -58,7 +58,6 @@ def buyStock(user : str, stock : str, buyAmount : int,finnhubClient):
|
|||||||
json.dump(data,f,indent=4)
|
json.dump(data,f,indent=4)
|
||||||
|
|
||||||
return f"{getName(user)} bought {buyAmount} GwendoBucks worth of {stock} stock"
|
return f"{getName(user)} bought {buyAmount} GwendoBucks worth of {stock} stock"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return f"{stock} is not traded on the american market."
|
return f"{stock} is not traded on the american market."
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user