Tagging

Discord's tagging system allows you to mention users, channels, roles, and other entities in messages sent by a bot.

User Tagging

Description

User tagging allows a bot to mention specific users in a message, which triggers a notification for the mentioned users.

Usage

To tag a user in a message, use the following format:

<@user_id>

Example

If you want to mention a user with the ID 1126549428686311434, the message format will be:

Hello <@1126549428686311434>, welcome to the server!

When the bot sends this message, it will appear as:

Hello @username, welcome to the server!

Where @username is the display name of the user with the specified ID.

Notes

  • Ensure that the bot has the required permissions to mention users.

  • You can obtain a user's ID by enabling Developer Mode in Discord and right-clicking the user's name.

  • Specific triggers and step in FlexyBot will give you a placeholder option to get user id.

Channel Tagging

Description

Channel tagging allows the bot to mention specific channels in a message, making it easier for users to navigate to the mentioned channels.

Usage

To tag a channel in a message, use the following format:

<#channel_id>

Example

If you want to mention a channel with the ID 1227322245584781434, the message format will be:

Please check the updates in <#1227322245584781434>.

When the bot sends this message, it will appear as:

Please check the updates in #channel-name.

Where #channel-name is the name of the channel with the specified ID.

Notes

  • The bot must have permission to view the channel it is tagging.

  • You can obtain a channel's ID by enabling Developer Mode and right-clicking the channel's name.

  • Specific triggers and step in FlexyBot will give you a placeholder option to get channl id.

Role Tagging

Description

Role tagging allows the bot to mention a role, notifying all users with that role.

Usage

To tag a role in a message, use the following format:

<@&role_id>

Example

If you want to mention a role with the ID 1163009011235422278, the message format will be:

Attention <@&1163009011235422278> members, please join the meeting.

When the bot sends this message, it will appear as:

Attention @role-name members, please join the meeting.

Where @role-name is the name of the role with the specified ID.

Notes

  • The bot needs the "Mention Everyone" permission to tag roles.

  • You can obtain a role's ID by enabling Developer Mode and right-clicking the role's name.

  • Specific triggers and step in FlexyBot will give you a placeholder option to get role id.

Tagging Everyone or Here

Description

The bot can mention @everyone or @here to notify all members of a server or only the members who are online, respectively.

Usage

To mention everyone in a message:

@everyone Please join the general channel for updates.

To mention only online users:

@here The event is starting now!

Notes

  • The bot needs the "Mention Everyone" permission to use @everyone or @here.

  • Be cautious with these tags as they notify a large number of users.

Last updated