Enable auto-retry feature and expand Bot functionality

This commit is contained in:
netkas 2024-10-09 15:04:34 -04:00
parent e7c438bc6a
commit 5d1b07c4c4
14 changed files with 159 additions and 5 deletions

View file

@ -16,6 +16,6 @@
*/
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
parent::__construct(sprintf("%s (Error code %s)", $message, $code), $code, $previous);
}
}