From 6b4475562884098bf1504877a3a06ecd3006815c Mon Sep 17 00:00:00 2001 From: jshlbrd Date: Thu, 24 Oct 2024 09:00:27 -0700 Subject: [PATCH] refactor(message): Update Type --- message/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message/message.go b/message/message.go index 8fdcf92e..74a2d461 100644 --- a/message/message.go +++ b/message/message.go @@ -75,7 +75,7 @@ func New(opts ...func(*Message)) *Message { } // HasFlag returns true if the message contains a flag. -func (m *Message) HasFlag(i any) bool { +func (m *Message) HasFlag(i Flag) bool { for _, f := range m.flags { if f == i { return true