Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions code_tips.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#you should use "not" in statements
#no need to declare variables unless they are random and you use it more than once
#if a == b: function()
#return await ctx.send
#declaring variable types is completely useless
#python isnt javascript, you dont have to use () in statements or loops
#an if statement doesnt need a corresponding else statement
#[a, b, c, d, ...] in 1 line
#import a, b, c, ... in 1 line
#when you are opening a file that is a subdirectory of the cwd you dont need to type full path... unix logic
4 changes: 2 additions & 2 deletions config/shop.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"giftable": true,
"sellable": true
},
"rarefish": {
"rare fish": {
"stylized name": "Rare fish",
"buy price": 0,
"sell price": 6940,
Expand All @@ -119,7 +119,7 @@
"giftable": true,
"sellable": true
},
"exoticfish": {
"exotic fish": {
"stylized name": "Exotic fish",
"buy price": 0,
"sell price": 15250,
Expand Down
Loading