mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[ModLog] Actually prevent duplicate kwarg error
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
parent
ac2813012a
commit
03e0683dd7
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user