Overview
Fluxer provides a comprehensive real-time messaging system that supports rich interactions, enabling users to communicate effectively across communities and direct messages.Core Messaging Features
Text Messages
Send rich text messages with markdown formatting, mentions, and emojis
Message Reactions
React to messages with custom and Unicode emojis
Message Replies
Reply to specific messages to maintain conversation context
Typing Indicators
Show real-time typing status to other users in the channel
Message Reactions
Reactions allow users to respond to messages with emojis without sending a full message.Adding Reactions
Reaction Limits
Fluxer enforces configurable limits on reactions:Maximum Reactions Per Message
Maximum Reactions Per Message
Default: 20 unique emoji reactions per message. Can be configured via
max_reactions_per_message limit.Maximum Users Per Reaction
Maximum Users Per Reaction
Default: 100 users can react with the same emoji. Configurable via
max_users_per_message_reaction.Custom Emoji Permissions
Custom Emoji Permissions
Users need
USE_EXTERNAL_EMOJIS permission to use custom emojis from other communities. Premium features can enable global emoji usage.Fetching Reaction Users
Removing Reactions
- Remove Own Reaction
- Remove Others' Reactions (Moderator)
- Clear All Reactions
Message Replies and Threading
Maintain conversation context with message replies and references.Creating Reply Messages
Message Forwarding
Fluxer supports message forwarding, which creates snapshots of original messages when shared to different channels.
Typing Indicators
Show real-time typing status to improve user experience and conversation flow.Sending Typing Events
Client Implementation
Mentions and Notifications
Fluxer supports rich mention capabilities for users, roles, and special mentions.Mention Types
User Mentions
@username - Mention specific usersRole Mentions
@role - Mention all users with a roleEveryone/Here
@everyone or @here - Notify all membersControlling Mentions
Permission Requirements
Required to send messages in guild channels
Required to add new reaction types (first reactor)
Required to remove others’ reactions or clear all reactions
Required to use @everyone, @here, or mention roles
Required to interact with messages outside the history cutoff
Gateway Events
Real-time messaging uses WebSocket events for instant updates:MESSAGE_CREATE
MESSAGE_CREATE
Dispatched when a new message is sent
MESSAGE_REACTION_ADD
MESSAGE_REACTION_ADD
Dispatched when a reaction is added
MESSAGE_REACTION_REMOVE
MESSAGE_REACTION_REMOVE
Dispatched when a reaction is removed
MESSAGE_REACTION_REMOVE_ALL
MESSAGE_REACTION_REMOVE_ALL
Dispatched when all reactions are cleared from a message
TYPING_START
TYPING_START
Dispatched when a user starts typing
Best Practices
Throttle Typing Indicators
Only send typing events every 5-8 seconds to avoid excessive API calls and gateway traffic.
Validate Permissions
Always check permissions before attempting to react or send messages to avoid errors.
Handle Reaction Limits
Implement UI feedback when reaction limits are reached to inform users why their action failed.
Related Resources
Custom Expressions
Learn about custom emojis and stickers
Communities
Understand guild channels and organization
Media & Embeds
Add rich media to your messages
API Reference
Complete API documentation