#Discord requires a websocket connection. Look into using https://github.com/teamreflex/DiscordPHP
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>
- PHP >= 5.5.9
- Composer
To install, run the following (assuming composer is in your PATH)
composer require cleanse/discord-hypertext
This will install the current master branch.