iets minder sass in ishetalhdcon
continuous-integration/drone Build is failing

This commit is contained in:
2025-07-13 14:10:43 +02:00
parent 916a45715b
commit d6bc6327a2
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -98,14 +98,14 @@ class Shitpost(commands.Cog):
return return
#Hoe vaker er wordt gevraagd, hoe ongeduldiger de antwoorden: #Hoe vaker er wordt gevraagd, hoe ongeduldiger de antwoorden:
if not "DMChannel" in type(ctx.channel).__name__: #ignore personal chats 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() impatientFactor *= random.random()
if impatientFactor > 100: if impatientFactor > 100:
await ctx.channel.send("Nee!") await ctx.channel.send("Nee!")
return return
elif impatientFactor > 15 and eventsMinutesAgo > 0: elif impatientFactor > 15 and eventsMinutesAgo > 0:
Message = "Dat hebben jullie net gevraagd." Message = "Dat hebben jullie net gevraagd."
elif impatientFactor > 9: elif impatientFactor > 12:
Message = "Nee." Message = "Nee."
await ctx.channel.send(ctx.author.mention + ' ' + str(Message)) await ctx.channel.send(ctx.author.mention + ' ' + str(Message))
+1
View File
@@ -14,3 +14,4 @@ STROOP_IMGFLIP_PASSWORD=
STROOP_RESET_PASSWORD= STROOP_RESET_PASSWORD=
STROOP_CHANNEL_SHITPOST= STROOP_CHANNEL_SHITPOST=
STROOP_CHANNEL_BELANGRIJK= STROOP_CHANNEL_BELANGRIJK=
STROOP_HDCON_DATE=2025-12-01