Fixes random seed required value
This commit is contained in:
+1
-1
@@ -411,7 +411,7 @@ class Shitpost(commands.Cog):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
# Do the rolling
|
# Do the rolling
|
||||||
random.seed(datetime.now())
|
random.seed(datetime.now().timestamp())
|
||||||
total = 0
|
total = 0
|
||||||
rolls = []
|
rolls = []
|
||||||
for x in range(0, nrOfDice):
|
for x in range(0, nrOfDice):
|
||||||
|
|||||||
Reference in New Issue
Block a user