Passa al contenuto principale

Sticky messages

Let a set message always appear at the end of a channel.

Sticky messages
Let a set message always appear at the end of a channel.
This module is open-source.
This module has one configuration file.
This module is being actively used on over 4600 other servers on SCNX.
This module is included for free in every plan. Learn more about prices.

Features

  • Configure messages that always appear as the latest message in a channel.
  • Whenever a new message is sent in the channel, the bot automatically deletes the old sticky message and reposts it.
  • Support for multiple sticky messages across different channels.
  • Built-in rate limiting to prevent spam when messages are sent rapidly (5-second cooldown).
  • Optionally react to messages from other bots in the channel.
  • Sticky messages support both plain text and embed formatting.

Setup

  1. Make sure the bot has View Channel, Send Messages, Embed Links, Manage Messages, and Read Message History permissions in the channels where sticky messages will be used.
  2. Configure your sticky messages in the module configuration.

Usage

This module works automatically -- there are no commands. Once configured, the bot will maintain the sticky message at the bottom of each configured channel.

When a new message is sent in a channel with a sticky message:

  1. The bot deletes the previous sticky message.
  2. The bot reposts the sticky message as the latest message.

If messages are sent rapidly (within 5 seconds of each other), the bot will wait and batch the re-send to avoid rate limiting.

Configuration

In this configuration file, you can manage your sticky messages. Open it in your dashboard.

Each entry in the list represents a sticky message with the following fields:

FieldDescription
ChannelThe channel where the sticky message should appear.
MessageThe message content to display. Supports embed formatting.
Respond to botsIf enabled, the sticky message will also be reposted when messages from other bots are sent in the channel.

Troubleshooting

The sticky message is not appearing
  • Make sure the configured channel exists and the bot has View Channel, Send Messages, Embed Links, Manage Messages, and Read Message History permissions.
  • Check that your sticky message configuration has a valid message content.
The sticky message is not updating when bots send messages

By default, the bot does not react to messages from other bots. Enable the "Respond to bots" option in the sticky message configuration for the relevant channel.