mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -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.pop(name, None)
|
||||
data_copy.pop("name", None)
|
||||
return cls(name=name, **data_copy, **kwargs)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user