Skip to main content

๐Ÿ‘ค Presence Settings

Customize how your TKI Auth bot appears in the Discord user list with dynamic status updates and activity messages.

Configuration Overviewโ€‹

Presence:
Status: "idle"
Activity:
Enabled: true
Type: "Competing"
Intervall: 5
Texts:
- "{total-products} - Total Products"
- "{total-user} - Total Members"
# ... more status texts

Setting Detailsโ€‹

Statusโ€‹

Type: string | Required: Yes | Default: "online"

Sets the bot's online status indicator that appears next to its name.

Status: "idle"

Available Options:

  • "online" - ๐ŸŸข Green dot (Online)
  • "idle" - ๐ŸŸก Yellow dot (Away/Idle)
  • "dnd" - ๐Ÿ”ด Red dot (Do Not Disturb)
  • "invisible" - โšซ No dot (Appears offline)

Activity Settingsโ€‹

Enabledโ€‹

Type: boolean | Required: Yes | Default: true

Controls whether the bot displays activity status messages.

Activity:
Enabled: true # Shows activity status
Enabled: false # No activity status shown

Typeโ€‹

Type: string | Required: Yes | Default: "Playing"

The type of activity the bot displays.

Type: "Competing"

Available Types:

  • "Playing" - ๐ŸŽฎ Playing [activity]
  • "Competing" - ๐Ÿ† Competing in [activity]
  • "Watching" - ๐Ÿ‘€ Watching [activity]
  • "Listening" - ๐ŸŽต Listening to [activity]

Intervallโ€‹

Type: number | Required: Yes | Default: 5

How often (in seconds) the bot updates its activity status, cycling through the texts array.

Intervall: 5  # Updates every 5 seconds
Intervall: 30 # Updates every 30 seconds
Performance Note

Setting a very low interval (1-2 seconds) may cause rate limiting. We recommend 5-10 seconds for optimal performance.

Textsโ€‹

Type: array | Required: Yes

An array of status messages that the bot cycles through. Supports dynamic variables.

Texts:
- "{total-products} - Total Products"
- "{total-user} - Total Members"
- "{total-licenses} - Total Licenses"
- "{successful-requests} - Successful Requests"

Available Variablesโ€‹

Use these variables in your status texts to display real-time information:

VariableDescriptionExample Value
{total-channels}Total channels in the server25
{total-members}Total members including bots150
{total-user}Total members excluding bots142
{total-products}Total products in system8
{total-licenses}Total licenses created1,234
{total-requests}Total API requests made45,678
{successful-requests}Successful API requests44,210
{rejected-requests}Rejected API requests1,468

Example Configurationsโ€‹

Gaming Themeโ€‹

Presence:
Status: "dnd"
Activity:
Enabled: true
Type: "Playing"
Intervall: 8
Texts:
- "with {total-licenses} licenses"
- "Auth Guard v2.0"
- "{successful-requests} successful auths"

Professional Themeโ€‹

Presence:
Status: "online"
Activity:
Enabled: true
Type: "Watching"
Intervall: 10
Texts:
- "{total-products} products"
- "{total-user} users"
- "system status: โœ…"
- "{total-requests} total requests"

Competitive Themeโ€‹

Presence:
Status: "idle"
Activity:
Enabled: true
Type: "Competing"
Intervall: 6
Texts:
- "License Authentication"
- "{successful-requests} successful validations"
- "TKI Auth Championship"
- "{total-licenses} active licenses"

Minimal Setupโ€‹

Presence:
Status: "online"
Activity:
Enabled: true
Type: "Watching"
Intervall: 15
Texts:
- "TKI Auth System"

Advanced Examplesโ€‹

Multi-Language Statusโ€‹

Texts:
- "๐Ÿ‡บ๐Ÿ‡ธ {total-products} Products"
- "๐Ÿ‡ฉ๐Ÿ‡ช {total-licenses} Lizenzen"
- "๐Ÿ‡ซ๐Ÿ‡ท {total-user} Utilisateurs"
- "๐Ÿ‡ช๐Ÿ‡ธ {successful-requests} ร‰xitos"

Emoji-Rich Statusโ€‹

Texts:
- "๐Ÿ” {total-licenses} Licenses Protected"
- "โšก {successful-requests} Fast Auths"
- "๐Ÿ›ก๏ธ Security Level: Maximum"
- "๐Ÿ“Š {total-requests} Total Requests"
- "๐Ÿ‘ฅ {total-user} Active Users"

Time-Based Statusโ€‹

Texts:
- "๐ŸŒ… Morning Auth: {successful-requests}"
- "โ˜€๏ธ {total-products} Products Online"
- "๐ŸŒ™ Night Guard: {total-licenses}"
- "โญ {total-user} Stars Online"

Troubleshootingโ€‹

Activity Not Updatingโ€‹

  • Check that Enabled is set to true
  • Verify the interval is reasonable (5+ seconds)
  • Ensure at least one text is provided in the array

Variables Not Workingโ€‹

  • Double-check variable spelling and formatting
  • Make sure variables are wrapped in {}
  • Verify your database connection is working

Bot Appears Offlineโ€‹

  • Check the Status setting
  • If using "invisible", the bot will appear offline
  • Verify the bot token and connection

Best Practicesโ€‹

  1. Keep intervals reasonable - 5-15 seconds works well
  2. Limit text array size - 5-10 messages prevent repetition fatigue
  3. Use meaningful variables - Show relevant system statistics
  4. Test different types - Different activity types suit different bot purposes
  5. Consider your audience - Match the tone to your server's style