Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit 6a5c42f

Browse files
author
Benjamin O'Brien
committed
No changing databases & delete banks
1 parent 5d45670 commit 6a5c42f

File tree

4 files changed

+1
-177
lines changed

4 files changed

+1
-177
lines changed

assets/database.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

assets/prism.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -504,10 +504,6 @@ class Constants:
504504

505505
user_preset = {
506506
"balance": 250,
507-
"bank": {
508-
"balance": 0,
509-
"data": None
510-
},
511507
"pet": {
512508
"name": None,
513509
"level": None,
@@ -528,8 +524,7 @@ class Constants:
528524
"commands": {
529525
"sent": 0,
530526
"used": {}
531-
},
532-
"effects": {}
527+
}
533528
}
534529
}
535530

commands/currency/balance.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Prism Rewrite - Basic Command
2-
31
# Modules
42
import discord
53
from json import loads, dumps
@@ -36,18 +34,6 @@ async def balance(self, ctx, user: str = None):
3634

3735
balance = f"<:coin:733723405118865479>\t{_bal} coins"
3836

39-
if _user["bank"]["data"]:
40-
41-
balance += f"\n:bank:\t{_user['bank']['balance']} coins "
42-
43-
if "protected" in _user["data"]["tags"]:
44-
45-
balance += "(banklock active)"
46-
47-
else:
48-
49-
balance += "(no banklock)"
50-
5137
name = user.name + "'s"
5238

5339
if user.id == ctx.author.id:

commands/currency/bank.py

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)