This commit is contained in:
NikolajDanger
2020-08-09 14:57:10 +02:00
parent 69b9064bb0
commit 95e1ef7e40
2 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
import json, urllib, random, datetime, string
import json, urllib, datetime, string
from . import hangmanDraw, money
from funcs import getName, logThis

View File

@ -1,4 +1,4 @@
import finnhub, json
import json
from funcs import getName
from .money import checkBalance, addMoney
@ -58,7 +58,6 @@ def buyStock(user : str, stock : str, buyAmount : int,finnhubClient):
json.dump(data,f,indent=4)
return f"{getName(user)} bought {buyAmount} GwendoBucks worth of {stock} stock"
else:
return f"{stock} is not traded on the american market."
else: