sdkfabric/discord

Discord PHP SDK managed by SDK Fabric

v0.2.0 2024-02-29 21:41 UTC

This package is auto-updated.

Last update: 2024-03-31 07:40:02 UTC


README

This SDK is managed by the SDK Fabric project. Our goal is to build a global infrastructure to automatically generate an SDK for every API, please take a look at our website for more information.

Contribution

Please do not create a pull requests at this repository since the code is automatically generated. If an operation or type is missing at the client SDK please register at the TypeHub platform and create a pull request at the Discord specification. The system will then automatically create a GIT commit and update the code.

Usage

The following example shows how you can use the client:

<?php

require __DIR__ . '/vendor/autoload.php';

$credentials = new \Sdkgen\Client\Credentials\HttpBearer('[access_token]');
$client = new \SdkFabric\Discord\Client::build($credentials);

// @TODO use the client