diff --git a/src/Discord/Repository/AbstractRepositoryTrait.php b/src/Discord/Repository/AbstractRepositoryTrait.php index 6e5737ccf..c18c9f6ce 100644 --- a/src/Discord/Repository/AbstractRepositoryTrait.php +++ b/src/Discord/Repository/AbstractRepositoryTrait.php @@ -782,7 +782,6 @@ public function __call($name, $arguments): mixed return $this->{"__Collection__{$name}"}(...$arguments); } - $name = htmlspecialchars($name, ENT_QUOTES, 'UTF-8'); throw new \BadMethodCallException("Method $name does not exist."); } }