cleanse / discord-hypertext
An unofficial PHP API wrapper for the Discord client (http://discordapp.com).
Installs: 1 009
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 8
Forks: 6
Open Issues: 0
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: ^6.1
Requires (Dev)
- vlucas/phpdotenv: ^2.0.1
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
- PHP >= 5.5.9
- Composer
Install
To install, run the following (assuming composer is in your PATH)
composer require cleanse/discord-hypertext
This will install the current master branch.