This repository has been archived by the owner on Sep 23, 2020. It is now read-only.
Fixed updatePresence()
Usage
$discord->on('ready', function ($discord) {
echo "Bot is ready!";
$game = $discord->factory(Game::class, [
'name' => "Watching " . $discord->users->count() . " users",
'type' => 3
]);
$discord->updatePresence($game);
});