Getting Started

BetSync Discord Bot Setup Guide

Introduction

The BetSync Discord bot allows you to integrate your Discord server with your BetSync website, enabling user verification, member tracking, and more. This guide will walk you through the process of adding the bot to your server and configuring it.

Inviting the Bot to Your Server

  1. Click the following invitation link.

  2. Select the Discord server you want to add the bot to from the dropdown menu

  3. Review the requested permissions and click "Authorize"

  4. Complete any Discord verification prompts if they appear

Initial Setup and Connection

After inviting the bot to your server, you need to connect it to your BetSync website:

  1. Obtain an API key from your BetSync admin panel:

    • Navigate to Settings > API Keys

    • Click "Create API Key"

    • Enter a description (e.g., "Discord Bot Integration")

    • Make sure the key is marked as Active

    • Copy the generated API key

  2. In your Discord server, use the bot's connection command:

    /connect url:yourdomain.com api_key:your_api_key

    Replace yourdomain.com with your BetSync website URL and your_api_key with the API key you created.

  3. If the connection is successful, the bot will confirm and be ready for use

Accessing the Discord Dashboard

Once connected, you can manage the bot through your BetSync admin panel:

  1. Log in to your BetSync admin panel

  2. Click on the "Discord" section in the main navigation

  3. You'll see the Discord Dashboard with information about your bot's connection status

The Discord Dashboard includes:

  • Connection status and server information

  • Verification settings configuration

  • Log viewer for bot activities

  • Statistics about your Discord members

Configuring Verification

After connecting the bot, you should configure the verification system:

  1. In the Discord Dashboard, navigate to the "Settings" tab

  2. Enable verification by toggling the "Enable Verification" switch

  3. Configure the following settings:

    • Verification Channel ID: The channel where new members will receive welcome messages

    • Verification Log Channel ID: The channel where verification logs will be sent

    • Verified Role ID: The role to assign to verified users

Monitoring Activity

The Discord Dashboard provides several ways to monitor bot activity:

  1. Logs Tab: View detailed logs of all bot activities including:

    • Verification events

    • Command usage

    • System events

    • Errors and warnings

  2. Statistics Tab: View data visualization of your Discord server including:

    • Member growth trends

    • Member distribution (registered vs. unregistered)

    • Member activity (joins/leaves)

    • Log activity breakdown

Common Issues

If you encounter problems with the bot setup:

  • Bot Not Responding: Ensure the bot has the necessary permissions in your Discord server

  • Connection Failed: Verify your API key is active and correct

  • Verification Not Working: Check that all channel and role IDs are correctly set

  • No Data in Dashboard: Allow some time for data to sync between Discord and your website

Support

For additional help:


Disconnecting the Bot

If you need to disconnect the bot:

  1. In the Discord Dashboard, click the "Disconnect Bot" button

  2. Confirm the disconnection in the confirmation dialog

  3. The bot will be disconnected from your website but will remain in your Discord server

To completely remove the bot, you'll need to kick it from your Discord server through Discord's server settings

Last updated