Skip to content

DiscordWebhook

Salanto edited this page Jun 18, 2022 · 2 revisions

Configuration of the Discord Webhook

akashi, as many other AO severs, supports Webhooks that allows messages to the posted to Discord Channels.

The config file looks is structured like this :

Discord

  • webhook_enabled
    • Enables the Discord Webhook Integration. This is required for any webhook to work.
  • webhook_modcall_enabled
    • Enables the modcall webhook to post a message when a modcall is made.
  • webhook_modcall_url
    • The URL of the modcall webhook. Must contain the webhook ID and token.
  • webhook_modcall_content
    • Optional text. Usually for adding tags for roles. Ensure the format is <@&[RoleID]>.
  • webhook_modcall_sendfile
    • Attaches a logfile of the area to the modcall webhook.
  • webhook_ban_enabled
    • Enables the ban webhook.
  • webhook_ban_url
    • The URL of the ban discord webhook to send messages to. Must contain the webhook ID and token.
  • webhook_uptime_enabled
    • Enables Uptime Webhook.
  • webhook_uptime_time
    • The time between message posting. Time is in minutes. The default value is 60 minutes.
  • webhook_uptime_url
    • The URL of the Uptime Webhook. Must contain the webhook ID and token.
  • webhook_color
    • The color code for the webhook. Allows customization of the color used in the embeed.