Alhena
  • Introduction
  • Getting Started
  • Architecture
  • Reference
    • Website SDK
      • Configure Proactive Nudges
    • Product FAQs
    • Website chatsdk events
    • Website chatsdk APIs
    • Chat SDK api and events examples
      • Open other external widget once human transfer is initiated
      • Show the Alhena AI widget only when someone scroll the page by 5 px
    • Website SDK - Custom data
      • Website SDK - Customer data with Agent
    • Website SDK - Internationalization
    • API Reference
      • API calls
    • Device Compatibility
  • Tutorials
    • AI Training
      • Training Steps
      • Training Data Sources
        • Websites
        • Youtube videos
        • Google Drive
        • Twitter Pages
        • Discord Messages
        • Confluence Pages
        • Upload Documents
        • Github
        • Zendesk Tickets
        • Freshdesk Tickets
        • Freshchat Tickets
        • Custom data sources
        • Shopify API
        • Woocommerce API
        • PDF Crawling
      • Training Frequently Asked Questions
    • Tuning Alhena AI Post Training
      • Best Practices for configuring the Alhena AI’s personality and guidelines
      • Adding Human Feedback for improving specific Questions
      • Adding to your knowledge base with FAQs
      • Frequently Asked Questions - Tuning Responses
    • QAing Al Conversations
      • Smart Flagging: Streamline Your AI Quality Assurance
    • Integrations
      • Alhena Website Chat SDK
        • Customizing Your Alhena Chat Widget
      • Integrating Alhena AI With Slack
      • Integrating Alhena AI With Discord
      • Integrating Alhena With Freshdesk
      • Integrating Alhena AI With Zendesk
      • Integrating Alhena AI With Email
      • Integrating Alhena AI With Shopify
      • Integration Alhena AI With Trustpilot
      • Integrating Alhena With Gorgias
    • Notifications
    • Alhena Dashboard
      • Managing Team
Powered by GitBook
On this page
  • Setting Up The Discord Integration
  • Configuring The Discord Integration
  • Name Your Bot
  • Automated Bot Reply Channels
  • Ticket Creation Channel
  • Admin Notification Channel
  • Training Your Bot On Admin Responses
  • Bot Profile Mapping
  • FAQs
  • Why did my bot not respond to a question asked in Discord?
  • Why did the bot not respond to my question in Discord?
  1. Tutorials
  2. Integrations

Integrating Alhena AI With Discord

PreviousIntegrating Alhena AI With SlackNextIntegrating Alhena With Freshdesk

Last updated 1 month ago

Alhena AI enhances Discord communities by offering automated responses to user inquiries. It can learn from admin responses in Discord to further reduce the need to manually reply to user questions. Additionally, it allows users to get help from admins in a private one-on-one channel, integrating Alhena Ticketing.

Setting Up The Discord Integration

To begin, go to the settings page and select "Connect" on the Discord section.

Next, you will be redirected to Discord's sign-in page. Here, you can log in and choose the server where you wish to add the bot.

After finishing this step, click on "Complete Setup" in the Alhena dashboard to set up your bot. If you ever want to uninstall the Discord integration, you can also do that from here by clicking on the toggle.

Configuring The Discord Integration

On the Discord settings page, you'll see the following settings:

Name Your Bot

This the display name of your bot that users will see in Discord.

Automated Bot Reply Channels

Your bot will look for an answer for any questions in the channels you configure here, and if it's able to answer, it will reply to them as a new thread. If the bot can't find an answer, it won't reply unless it's explicitly mentioned in the message, leaving it up the admins of the server to reply.

Alhena can learn from these human responses, so admins don't have to keep answering the same questions.

Users can then ask followup questions in the thread, keeping in mind the previous messages in the conversation.

Ticket Creation Channel

This section will allow you to configure Discord with Alhena Ticketing. Users will be able to directly contact a member of your team in a private channel, where team members can then reply from the Alhena Dashboard.

Here you can customise the appearance and text shown to users. When a user clicks "Create Ticket", a new channel will be opened that only they can see and will receive replies in. You can provide a link to your website that may be helpful to your users, which will be opened when they click the message.

Admin Notification Channel

This is a channel in Discord for admins to be notified when a new ticket is created. You can set up a private channel in Discord that only admins have access to, and then configure it here. Whether your users create a ticket through Discord, or other channels such as email and website chat, admins will receive notifications here, so new tickets don't go unnoticed and your users can get a response as quickly as possible.

Training Your Bot On Admin Responses

You can train your bot on messages from select users in your Discord server. Admins may leave helpful information not found on your website or other sources, and your bot can eliminate the need for them to repeat these responses.

When users ask questions in your configured Automated Bot Reply Channels, Alhena will attempt to find an answer in any of the pages and documents you've provided for training. However, there are times when it won't find an answer and a human needs to manually replies to these questions.

You can configure Alhena to learn from these human responses on the Bot Settings page. If you've already connected to Discord as described above, then the same server will be used here.

You can then select which channels you'd like Alhena to learn from, and which Discord users should be considered.

After you save your settings, Alhena will automatically start fetching messages from Discord and adding them to your bot's knowledge base. It will continuously fetch any new messages without you needing to manually retrain the bot. This may initially take up to a few days if you have many messages, but you can see the status of the data ingestion on the Bot Settings page once Discord training is configured.

The bot will automatically learn from any new messages as they come in. Please note that it may take up to an hour for the bot to ingest any newly added messages.

Bot Profile Mapping

If you have multiple bot profiles set up in Alhena with different knowledge bases (such as one for developers, one for regular users), then you can set up multiple channels in Discord that each use a different bot profile.

This feature currently requires manual set up on Alhena's end. Please reach out to our team if you'd like to map your Discord channels to different bot profiles.

FAQs

Why did my bot not respond to a question asked in Discord?

Alhena will automatically try to answer any questions in channels you've configured it for. There are a couple of reasons why it might not reply. If it couldn't find an answer in your knowledege base, it won't reply unless directly mentioned. If an admin jumps in to the thread where the bot is answering, it will stop replying and let the admin take over.

Why did the bot not respond to my question in Discord?

Alhena will attempt to find an answer to any question asked in the configured automated reply channels. If your bot couldn't find an answer in your knowledge base, it won't reply unless you directly mention the bot. If an admin jumps into the thread where a bot is answering, it will also stop replying.