Skip to content

Commit 246588f

Browse files
authored
Merge pull request #77 from thatOneArchUser/main
Debloat source code (by a lot)
2 parents b75c23c + 07a2b44 commit 246588f

File tree

3 files changed

+189
-444
lines changed

3 files changed

+189
-444
lines changed

code_tips.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#you should use "not" in statements
2+
#no need to declare variables unless they are random and you use it more than once
3+
#if a == b: function()
4+
#return await ctx.send
5+
#declaring variable types is completely useless
6+
#python isnt javascript, you dont have to use () in statements or loops
7+
#an if statement doesnt need a corresponding else statement
8+
#[a, b, c, d, ...] in 1 line
9+
#import a, b, c, ... in 1 line
10+
#when you are opening a file that is a subdirectory of the cwd you dont need to type full path... unix logic

config/shop.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"giftable": true,
110110
"sellable": true
111111
},
112-
"rarefish": {
112+
"rare fish": {
113113
"stylized name": "Rare fish",
114114
"buy price": 0,
115115
"sell price": 6940,
@@ -119,7 +119,7 @@
119119
"giftable": true,
120120
"sellable": true
121121
},
122-
"exoticfish": {
122+
"exotic fish": {
123123
"stylized name": "Exotic fish",
124124
"buy price": 0,
125125
"sell price": 15250,

0 commit comments

Comments
 (0)