mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
[ModLog] Actually prevent duplicate kwarg error
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
@@ -464,7 +464,7 @@ class CaseType:
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
data_copy = data.copy()
|
data_copy = data.copy()
|
||||||
data_copy.pop(name, None)
|
data_copy.pop("name", None)
|
||||||
return cls(name=name, **data_copy, **kwargs)
|
return cls(name=name, **data_copy, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user