diff --git a/redbot/core/modlog.py b/redbot/core/modlog.py index 70f44ff6c..0f2d2a843 100644 --- a/redbot/core/modlog.py +++ b/redbot/core/modlog.py @@ -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)