diff --git a/DisCatSharp/Enums/Message/MessageFlags.cs b/DisCatSharp/Enums/Message/MessageFlags.cs
index 1b5466303..e1dfa8136 100644
--- a/DisCatSharp/Enums/Message/MessageFlags.cs
+++ b/DisCatSharp/Enums/Message/MessageFlags.cs
@@ -1,91 +1,96 @@
// This file is part of the DisCatSharp project, based off DSharpPlus.
//
// Copyright (c) 2021-2022 AITSYS
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
using System;
namespace DisCatSharp;
///
/// Represents a message flag extensions.
///
public static class MessageFlagExtensions
{
///
/// Calculates whether these message flags contain a specific flag.
///
/// The existing flags.
/// The flags to search for.
///
public static bool HasMessageFlag(this MessageFlags baseFlags, MessageFlags flag) => (baseFlags & flag) == flag;
}
///
/// Represents additional features of a message.
///
[Flags]
public enum MessageFlags
{
///
/// Whether this message is the original message that was published from a news channel to subscriber channels.
///
Crossposted = 1 << 0,
///
/// Whether this message is crossposted (automatically posted in a subscriber channel).
///
IsCrosspost = 1 << 1,
///
/// Whether any embeds in the message are hidden.
///
SuppressedEmbeds = 1 << 2,
///
/// The source message for this crosspost has been deleted.
///
SourceMessageDelete = 1 << 3,
///
/// The message came from the urgent message system.
///
Urgent = 1 << 4,
///
/// The message has an associated thread, with the same id as the message.
///
HasThread = 1 << 5,
///
/// The message is only visible to the user who invoked the interaction.
///
Ephemeral = 1 << 6,
///
/// The message is an interaction response and the bot is "thinking".
///
Loading = 1 << 7,
///
/// The message is warning that some roles failed to mention in thread.
///
- FailedToMentionSomeRolesInThread = 1 << 8
+ FailedToMentionSomeRolesInThread = 1 << 8,
+
+ ///
+ /// The message contains a link marked as potential dangerous or absusive.
+ ///
+ ShouldShowLinkNotDiscordWarning = 1 << 10
}