Skip to content
This repository has been archived by the owner on May 1, 2018. It is now read-only.

Latest commit

 

History

History
38 lines (24 loc) · 969 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 969 Bytes

#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