Skip to content

Commit

Permalink
changed activity bonus cooldown to 5 mins (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzcharleszhang authored Jan 28, 2022
1 parent 3314c9a commit 6b3edf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/commands/coin/coinInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ class CoinInfo extends BaseCommand {
.setColor(EMBED_COLOUR)
.setTitle('🪙 About Codey Coin 🪙')
.setThumbnail('https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/twitter/282/coin_1fa99.png') // Thumbnail, if needed?
.setDescription(`Codey Coin are rewarded for being active in CSC's events and discord!`)
.setDescription(`Codey coins are rewarded for being active in CSC's events and discord!`)
.addFields(
{
name: '🪙 How Can I Obtain Codey Coins?',
value: `Earn Codey coins by:
• Participating in CSC events
• Being active on Discord
---Daily bonus - your first message of the day on CSC's Discord will grant some Codey coins
---Activity bonus - your first message of every minute on CSC's Discord will grant some Codey coins`
---Activity bonus - your first message of every 5 minutes on CSC's Discord will grant some Codey coins`
},
{
name: '🪙 What Can I Do With Codey Coins?',
Expand Down
4 changes: 2 additions & 2 deletions src/components/coin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const coinBonusMap = new Map<BonusType, Bonus>([
type: BonusType.Daily,
event: UserCoinEvent.BonusDaily,
amount: 50,
cooldown: 86400000, // one day in milliseconds
cooldown: 24 * 60 * 60 * 1000, // one day in milliseconds
isMessageBonus: true
}
],
Expand All @@ -47,7 +47,7 @@ export const coinBonusMap = new Map<BonusType, Bonus>([
type: BonusType.Activity,
event: UserCoinEvent.BonusActivity,
amount: 1,
cooldown: 60000, // one minute in milliseconds
cooldown: 5 * 60 * 1000, // 5 minutes in milliseconds
isMessageBonus: true
}
],
Expand Down

0 comments on commit 6b3edf9

Please sign in to comment.