Skip to content

Commit

Permalink
Fixed vote reminder math (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticFyr3 committed May 2, 2024
1 parent e9dc24c commit 4c65e77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/xyz/pokecord/bot/utils/ReminderUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ object ReminderUtils {
if (!user.voteReminder) return

val embedTemplates = EmbedTemplates()
var timeRemaining = user.lastVoteAt?: return
timeRemaining += TimeUnit.HOURS.toMillis(12)
val timeRemaining = TimeUnit.HOURS.toMillis(12)

try {
val voterChannel = bot.shardManager
Expand Down

0 comments on commit 4c65e77

Please sign in to comment.