loyalteez_process_third_party_event
Process events from Mee6, Arcane, Tatsu, and other bots by parsing messages and converting them into Loyalteez events for Discord leveling integrations.
Instructions
Handle events from Mee6, Arcane, Tatsu, etc. Parses bot messages and converts to Loyalteez events. Use this to integrate with existing Discord leveling bots.
See also: loyalteez://docs/integrations/third-party
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Level reached (for level_up events) | |
| brandId | No | Your brand wallet address. If not provided, uses LOYALTEEZ_BRAND_ID environment variable. | |
| metadata | No | Additional event data | |
| platform | Yes | Platform: "discord" | "telegram" | etc. | |
| eventType | Yes | Type of event from the bot | |
| sourceBot | Yes | Source bot that generated the event | |
| rawMessage | No | Raw bot message for parsing | |
| achievement | No | Achievement name (for achievement events) | |
| targetUserId | Yes | Target user ID (platform format) |