PatchBot/modules/Autorestic.php
2025-03-29 17:10:13 +01:00

14 lines
353 B
PHP

<?php
class Autorestic extends PatchBase {
function __construct() {
parent::__construct('Niccolo Borgioli', 'autorestic', 'https://autorestic.vercel.app/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/cupcakearmy/autorestic/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>