Discord Integration

circle-info

Interact with Sand Framework directly from your Discord server using our powerful bot integration.

Features

  • /sand help - Show available commands

  • /sand analyze <code> - Analyze Solana code

  • /sand explain <error> - Explain an error

  • /sand optimize <code> - Suggest optimizations

Bot Setup

  1. Create a Discord Application:

  2. Configure Permissions:

Required Permissions:
- Send Messages
- Read Messages/View Channels
- Use Slash Commands
- Embed Links
  1. Set Environment Variables:

Command Usage

Code Analysis

Price Tracking

Response:

Customization

Create custom commands in bot/cogs:

Webhooks

Configure Discord webhooks for automated notifications:

circle-exclamation

Last updated