Tweak badge spawn rates
Specifically, badges spawn with more frequency. Implemented to try and combat the rampant Tildebadge inflation on tilde.chat.
This commit is contained in:
parent
f251a5b995
commit
84ffca31c5
|
@ -58,7 +58,7 @@ def on_privmsg(event):
|
|||
BOT.socket.send(privmsg(event.hostmask.nick,f"Any complaints should be directed at khuxkm, and you can opt out from badges and future use of this bot with the command '{BOT.prefix}optout'."))
|
||||
population.value.give_badge(account,badge_to_give)
|
||||
population.save("badges.json")
|
||||
timeouts[event.target]=random.randint(20,50)
|
||||
timeouts[event.target]=random.randint(10,30)
|
||||
elif timeouts.get(event.target,0)>0:
|
||||
timeouts[event.target]-=1
|
||||
if event.message=="!botlist" or event.message=="!rollcall":
|
||||
|
|
Loading…
Reference in New Issue