DiscordPHP-BridgeBot Documentation

ProvidesModules

A connector that brings Discord-side features an {@see \Bridge\Command\Action} cannot express.

An action is a string in and a string out, which covers most of what a chat command is. What it cannot do is a Components v2 panel with buttons that stay live, or anything driven by a Discord event rather than by somebody typing — so a connector that wants those provides a Module instead, and gets the whole Discord object to work against.

Tags
author

Valithor Obsidion valithor@discordphp.org

Table of Contents

Methods

modules()  : array<int, Module>

Methods

On this page

Search results