Skip to content

LiveAnnounce v1.3.0

Latest

Choose a tag to compare

@devkopi devkopi released this 28 May 20:15
c2990ba

Release v1.3.0 - Discord Webhook Enhancement

The Discord webhook system has been enhanced with richer embed capabilities including player avatars, platform detection, configurable colors, and image/GIF support. The webhook operates asynchronously to prevent server lag.

ChannelExtractor has been centralized to handle both channel extraction and platform detection from stream URLs.

Main Features:

  • Player avatar (Minecraft skin head) as embed thumbnail
  • Automatic platform detection from URL (Twitch, YouTube, Kick, TikTok)
  • Platform-specific embed colors (configurable)
  • Configurable pre-embed text message with variables
  • Optional @everyone mention toggle
  • Static image and animated GIF support in embed body
  • Formatted local timestamp in footer

Configuration Example:

discord:
  enabled: true
  webhook-url: "https://discord.com/api/webhooks/your-webhook-here"
  mention-everyone: true
  message: "{player} is live on {platform}!"
  
  platform-colors:
    twitch: 9519747
    youtube: 16711680
    kick: 5502200

  embed:
    title: "{player} is live!"
    description: "Platform: {platform}\n\nJoin now!\n{link}"
    author: "New Live Stream"
    footer: "LiveAnnounce • {timestamp}"
    image-url: "https://i.imgur.com/TDf945M.jpeg"