summaryrefslogtreecommitdiff
path: root/src/discord/message.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord/message.hpp')
-rw-r--r--src/discord/message.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/discord/message.hpp b/src/discord/message.hpp
index 244b572..4e332b6 100644
--- a/src/discord/message.hpp
+++ b/src/discord/message.hpp
@@ -209,10 +209,10 @@ struct Message {
void SetDeleted();
void SetEdited();
- bool IsDeleted() const;
- bool IsEdited() const;
+ [[nodiscard]] bool IsDeleted() const;
+ [[nodiscard]] bool IsEdited() const;
- bool DoesMention(Snowflake id) const noexcept;
+ [[nodiscard]] bool DoesMention(Snowflake id) const noexcept;
private:
bool m_deleted = false;