diff --git a/discord/activity.py b/discord/activity.py index 5e973006596a..534d12a2b85d 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -735,7 +735,7 @@ class CustomActivity(BaseActivity): def __init__(self, name: Optional[str], *, emoji: Optional[PartialEmoji] = None, **extra: Any) -> None: super().__init__(**extra) self.name: Optional[str] = name - self.state: Optional[str] = extra.pop('state', None) + self.state: Optional[str] = extra.pop('state', name) if self.name == 'Custom Status': self.name = self.state