DiscordPHP-BridgeBot Documentation

Support

Table of Contents

Classes

BridgeCheck
Turns the result of the startup check into something a human can act on.
CommandSync
Decides whether the application command Discord already has still matches the one this build defines.
DiscordMedia
Recognises a link to a picture on Discord's own CDN.
Filesystem
Every disk access the bridge makes while the event loop is running, in one place, behind promises.
Format
Renders an answer for whichever chat asked the question.
GatewayDiagnostics
Turns a Discord gateway close code into something you can act on.
InstallCheck
Reads the application's install settings back and says what is wrong with them, once, at startup.
JsonFile
A JSON document on disk that survives restarts, crashes and a careless text editor — and that is written without stopping the event loop.
MessageText
Turning a message from one network into text the other will accept.
Permissions
Works out which rung of {@see Access} a Discord message's author stands on.
RateLimiter
A token bucket: how the bot stays under somebody else's send limit.
On this page

Search results