discord-hypertext icon indicating copy to clipboard operation
discord-hypertext copied to clipboard

An unofficial PHP API wrapper for the Discord client (http://discordapp.com).

#Discord requires a websocket connection. Look into using https://github.com/teamreflex/DiscordPHP

discord-hypertext

An unofficial PHP API wrapper for the Discord client (http://discordapp.com).

We're currently on version 1.2. This version has some major changes that could break your old code.

Changes:

  • Added a new token option for authenticating.
  • The login route is rate limited, so please cache the token for login. $discord->token()
  • Mentions are now auto created if you use <@userid>

Getting Started

Requirements

Install

To install, run the following (assuming composer is in your PATH)

composer require cleanse/discord-hypertext

This will install the current master branch.

Usage

Check out the docs
Check out the example