Update cooldown durations for commands in Unbelievaboat to enhance gameplay balance and user experience
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run

This commit is contained in:
Valerie 2025-05-28 09:49:52 -04:00
parent 18513957f2
commit 97528fc9d3

View file

@ -41,12 +41,12 @@ class Unbelievaboat(Wallet, Roulette, SettingsMixin, commands.Cog, metaclass=Com
self.bot = bot self.bot = bot
defaults = { defaults = {
"cooldowns": { "cooldowns": {
"workcd": 14400, "workcd": 300, # 5 minutes for work
"crimecd": 14400, "crimecd": 600, # 10 minutes for crime
"robcd": 86400, "robcd": 3600, # 1 hour for robbing
"withdrawcd": 1, "withdrawcd": 1,
"depositcd": 1, "depositcd": 1,
"slutcd": 7200, # 2 hour cooldown for slut command "slutcd": 600, # 10 minutes for slut command
}, },
"defaultreplies": True, "defaultreplies": True,
"replies": {"crimereplies": [], "workreplies": [], "slutreplies": []}, "replies": {"crimereplies": [], "workreplies": [], "slutreplies": []},
@ -209,7 +209,7 @@ class Unbelievaboat(Wallet, Roulette, SettingsMixin, commands.Cog, metaclass=Com
"rob": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot rob a person for another {cooldown}.", "rob": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot rob a person for another {cooldown}.",
"withdraw": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot withdraw any more cash for another {cooldown}.", "withdraw": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot withdraw any more cash for another {cooldown}.",
"deposit": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot deposit any more cash for another {cooldown}.", "deposit": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot deposit any more cash for another {cooldown}.",
"slut": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot perform another silent operation for another {cooldown}.", "slut": f"\N{NEGATIVE SQUARED CROSS MARK} You cannot do a slutty operation for another {cooldown}.",
} }
embed = discord.Embed(colour=discord.Color.red(), description=response[job]) embed = discord.Embed(colour=discord.Color.red(), description=response[job])
embed.set_author(name=user, icon_url=user.display_avatar) embed.set_author(name=user, icon_url=user.display_avatar)