PatchBot/modules/Bevy.php
2024-05-31 19:02:09 +02:00

14 lines
328 B
PHP

<?php
class Bevy extends PatchBase {
function __construct() {
parent::__construct('Bevy Contributors', 'Bevy', 'https://bevyengine.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/bevyengine/bevy/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>