sunflowerfuchs/discord-bot
最新稳定版本:v0.1.3
Composer 安装命令:
composer require sunflowerfuchs/discord-bot
包简介
An easily extendable discord bot, written in PHP
README 文档
README
A Bot for Discord, written in PHP.
The main goal was modularity, which enables it to easily be split into independently installable plugins.
Requirements
- PHP >= 8.1
- composer
- discord developer application
Quickstart
The following snippet is all that is required to run the basic bot with the default plugins.
$bot = new SunflowerFuchs\DiscordBot\Bot([ 'token' => 'XXXXX' ]); $bot->run();
Other features can easily be added to the Bot by just adding more plugins, like for example the TikTok Plugin.
$bot = new SunflowerFuchs\DiscordBot\Bot($options); $bot->registerPlugin(new TiktokPlugin()); $bot->run();
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-24