cleanse/discord-hypertext

This package is abandoned and no longer maintained. The author suggests using the https://github.com/teamreflex/DiscordPHP package instead.

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

dev-master 2016-04-15 10:29 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:52:32 UTC


README

#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