hashworks / phergie-xrel-plugin
Phergie 插件,用于访问 xREL.to API。
v1.0.1
2015-02-08 16:40 UTC
Requires
Suggests
- phergie/phergie-irc-plugin-react-commandhelp: provides interactive help for commands
This package is not auto-updated.
Last update: 2024-09-28 16:41:30 UTC
README
安装
通过 Composer 安装,使用以下命令,它将自动检测最新版本并将其绑定到 ~。
composer require hashworks/phergie-xrel-plugin
有关 安装和启用插件 的更多信息,请参阅 Phergie 文档。
配置
// dependency new \Phergie\Irc\Plugin\React\Command\Plugin, new \WyriHaximus\Phergie\Plugin\Dns\Plugin, new \WyriHaximus\Phergie\Plugin\Http\Plugin(array('dnsResolverEvent' => 'dns.resolver')), new \hashworks\Phergie\Plugin\xREL\Plugin(array( // Optional. Searches for release dirnames in all messages and applies the nfo command on them. 'parseAllMessages' => false, // Optional. Limit of posts per command. 'limit' => 5 )),
语法
upcoming 返回即将上映的电影列表。
latest [[hd-]movie|[hd-]tv|game|update|console|[hd-]xxx] 返回最新发布列表。
hot [movie|tv|game|console] 返回最新热门发布列表。
nfo <dirname> 返回场景目录名的 nfo 链接。