Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
Change number of possibilities
Browse files Browse the repository at this point in the history
A user said "That's useless, it makes n+1 possibilities."
And i agree with that.
  • Loading branch information
ekomlenovic committed Dec 28, 2022
1 parent 8397220 commit 1bf1e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def r(ctx, number: int = 100):
file_path = serveur_path(ctx)
if not os.path.exists(ctx.guild.name):
os.makedirs(ctx.guild.name)
value = random.randrange(0, number+1)
value = random.randrange(1, number+1)
_value = value/number*100
user = ctx.author.display_name
found = False
Expand Down

0 comments on commit 1bf1e6f

Please sign in to comment.