-
-
Couldn't load subscription status.
- Fork 1
Debloat source code #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
merge/close/delete whatever its called i just want to delete fork |
|
Some parts of code look old, I'll give it a look |
so much for debloating :|
| if (chance <= 50): | ||
| x:int = random.randint(5000, currency['wallet'][str(user.id)]) | ||
| if currency['wallet'][str(user.id)] < 5000: return await ctx.reply('They has less than 5000 coins on them. Don\'t waste your time...') | ||
| elif currency['wallet'][str(ctx.author.id)] < 5000: return await ctx.reply('You have less than 5k coins in your wallet. Play fair dude.') #what..? wheres logic?? i mean irl you can rob someone without havin any money at all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, robbing someone without having any money is possible, but there also has to be a failure penalty. If it was still 5000 coins from wallet, then the user would be in "debt"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if wallet == 0: return
else: random.randint(round(wallet/10, 0), wallet)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try it with this too. Lets see what works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From line 562 - line 566: Please re-check the keys and choices again, I will attempt to fix later. resolved
Line 610: Changes will probably be remade for resolved/echo
i cant make a better commit title than this
|
help what does changes requested mean i dont speak github |
|
Meaning you have to make changes to the code to merge the pull request |
|
My debug environment is not working, so I am keeping this pull request on hold. |
|
I am probably moving some parts of this pull request to smaller PR's so that I can work on these easily |
|
what is going on help i dfont speak githb |
I just mentioned this pull request in another pull request |
|
nobody speaks github
…On Sat, 25 Jun 2022, 05:02 thatOneArchUser, ***@***.***> wrote:
help what does changes requested mean i dont speak github
—
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWZSJ5ZA5ZHOO2K5WWBIRJ3VQYO7LANCNFSM5ZTXJFXQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
|
bro wtf i clicked close instead of comment again |
|
chokes |
I'm only now checking and debugging the code XD |
that doesnt look very professional to me, you are on github m8 |
o k i guess (suddenly cosine when i typed "k") |
kosine |
unchokes |
main.py
Outdated
| if (chance <= 20): | ||
| x:int = random.randint(10000, currency['wallet'][str(user.id)]) | ||
| if currency['wallet'][str(user.id)] < 10000: return await ctx.reply('You really want to risk losing your life to a poor person? (imagine robbing someone with < 10k net worth)') | ||
| elif currency['wallet'][str(ctx.author.id)] < 5000: return await ctx.reply('You have less than 10k in your wallet. Don\'t be greedy.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the value to 10000, it should not be 5000
|
nvm merge takes insanely long |
|
I was just busy with exams, you know |
|
Ok I'm back to checking, I guess |
| currency['wallet'][str(ctx.author.id)] -= 2000 | ||
| save() | ||
| await ctx.reply('YOU FELL INTO YOUR OWN TRAP AND DIED LMFAO\nYou lost 2000 coins in the process.') | ||
| await ctx.reply('YOU FELL INTO YOUR OWN TRAP AND DIED LMFAO\nYou lost 2000 coins in the process.') #but you were digging?? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pov: you do a neck flip falling into the hole you dug
|
Finally ready to merge after |
|
oih damn that was unexpcreg edit: oh* |
|
I went grind mode |
edit 4: :* |
IGUDEBWNSODFIPBMPWEIOMBFPOISMDSKMGBWLFBM;DF/V |
|
L |
Rolled back to version before #77
no comment just read main.py