Invites.md

November 3, 2015 ยท View on GitHub

Channel Invites API

Back to the Channel API

Create Channel Invite

$discord = new Discord($email_address, $password);
$channelId = '<your_guild_id>';
$discord->api('channel')->invites()->create($channelId);

Returns an array with invite details.