Skip to content

Conversation

dkay0670
Copy link
Contributor

@dkay0670 dkay0670 commented May 4, 2025

Make startup time dynamic timestamp

@dkay0670 dkay0670 requested review from a team, TheKrol, ajax146 and Copilot and removed request for a team May 4, 2025 01:38
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request updates the startup time display to use a dynamic Discord timestamp instead of a fixed string.

  • Converts startup time to a dynamic timestamp format ("<t:...:R>").
  • Updates the fallback value from "None" to "Unknown".
Comments suppressed due to low confidence (1)

techsupport_bot/commands/botinfo.py:52

  • The fallback value has been changed from 'None' to 'Unknown'. Please verify that this difference is intentional, as it may lead to inconsistency in the displayed information compared to other fields.
value=(
                f"<t:{int(self.bot.startup_time.timestamp())}:R>"
                if self.bot.startup_time
                else "Unknown"
            ),

@ajax146 ajax146 merged commit d7b1955 into main May 4, 2025
14 checks passed
@ajax146 ajax146 deleted the StartupTimestamp branch May 4, 2025 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants