diff --git a/isobot/currency.py b/isobot/currency.py index aae3c79..c01905d 100644 --- a/isobot/currency.py +++ b/isobot/currency.py @@ -1,6 +1,12 @@ import json import discord -from colors import Colors + +class Colors(): + """Contains general stdout colors.""" + cyan = '\033[96m' + red = '\033[91m' + green = '\033[92m' + end = '\033[0m' class CurrencyAPI(Colors): """The isobot API used for managing currency. @@ -42,4 +48,4 @@ def withdraw(self, user:discord.User, amount:int): currency["wallet"][str(user.id)] += amount currency["bank"][str(user.id)] -= amount save() - print(f"[Framework/CurrencyAPI] Moved {amount} coins to wallet. User: {user} [{user.id}]") \ No newline at end of file + print(f"[Framework/CurrencyAPI] Moved {amount} coins to wallet. User: {user} [{user.id}]")