This commit is contained in:
+2
-2
@@ -98,14 +98,14 @@ class Shitpost(commands.Cog):
|
||||
return
|
||||
#Hoe vaker er wordt gevraagd, hoe ongeduldiger de antwoorden:
|
||||
if not "DMChannel" in type(ctx.channel).__name__: #ignore personal chats
|
||||
impatientFactor = 10 + eventsMinutesAgo*25 + eventsLastDays*10;
|
||||
impatientFactor = 10 + eventsMinutesAgo*25 + min(10, eventsLastDays)*2;
|
||||
impatientFactor *= random.random()
|
||||
if impatientFactor > 100:
|
||||
await ctx.channel.send("Nee!")
|
||||
return
|
||||
elif impatientFactor > 15 and eventsMinutesAgo > 0:
|
||||
Message = "Dat hebben jullie net gevraagd."
|
||||
elif impatientFactor > 9:
|
||||
elif impatientFactor > 12:
|
||||
Message = "Nee."
|
||||
|
||||
await ctx.channel.send(ctx.author.mention + ' ' + str(Message))
|
||||
|
||||
Reference in New Issue
Block a user