austriannoah/chancesapi

A Simple Chances API forked by RexZetronYT23 and will edited and maintained by AustrianNoah jebote

dev-main 2024-03-03 13:44 UTC

This package is auto-updated.

Last update: 2025-01-03 15:47:34 UTC


README

Installing

$ composer require austriannoah/chancesapi

or just adding this to your composer.json

{
    "require": {
        "austriannoah/chancesapi": "dev-main"
    }
}

Usage

    Chances::chance("fifty-fifty", function () {
        // use this for success
    }, function () {
        // use this for failure
});