epicgames-freegames-node
    Preparing search index...

    Class DiscordConfig

    Sends a message to a server text channel using a webhook

    Index

    Properties

    mentionedRoles: string[]

    A list of Discord role IDs to ping when posting the message. The IDs must be strings wrapped in quotes. To get a role ID: enable developer mode > right click a role > "Copy ID"

    ["734548250895319070", "734548250895319071"]
    

    DISCORD_MENTIONED_ROLES (comma separated)

    mentionedUsers: string[]

    A list of Discord user IDs to ping when posting the message. The IDs must be strings wrapped in quotes. How to get a user ID: https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-

    ["914360712086843432", "914360712086843433"]
    

    DISCORD_MENTIONED_USERS (comma separated)

    showUrl: boolean = false

    If true, the Discord message will contain the full URL in the message text. Helpful if you need to copy-paste the URL.

    true
    
    false
    

    DISCORD_SHOW_URL

    webhookUrl: string
    https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456
    

    DISCORD_WEBHOOK