From 06e8683d01d4922ac98fc959f5c9923d0a52eb1c Mon Sep 17 00:00:00 2001
From: Rapptz <rapptz@gmail.com>
Date: Wed, 11 May 2022 03:30:20 -0400
Subject: [PATCH] [commands] Fix flag_converter attribute not being properly
 copied

---
 discord/ext/commands/hybrid.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/discord/ext/commands/hybrid.py b/discord/ext/commands/hybrid.py
index 1946ddfc2..0db651a20 100644
--- a/discord/ext/commands/hybrid.py
+++ b/discord/ext/commands/hybrid.py
@@ -297,6 +297,7 @@ class HybridAppCommand(discord.app_commands.Command[CogT, P, T]):
     def _copy_with(self, **kwargs) -> Self:
         copy: Self = super()._copy_with(**kwargs)  # type: ignore
         copy.wrapped = self.wrapped
+        copy.flag_converter = self.flag_converter
         return copy
 
     def copy(self) -> Self: