mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-15 10:19:59 +00:00
[commands] Fix flag_converter attribute not being properly copied
This commit is contained in:
parent
cc3e714338
commit
06e8683d01
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user