mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 01:16:21 +00:00
[commands] Fix flag_converter attribute not being properly copied
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user