asdfx/phergie-irc-plugin-react-urban-dictionary

Phergie 插件,用于从 Urban Dictionary 返回条目。

1.0.4 2019-02-20 08:51 UTC

This package is auto-updated.

Last update: 2024-09-20 20:56:55 UTC


README

Phergie 插件,用于返回 UrbanDictionary 的词定义。

关于

此插件提供了一种从 Urban Dictionary 进行单词和短语查找的方法。

安装

推荐的安装方法是 通过 composer

composer require asdfx/phergie-irc-plugin-react-urban-dictionary

有关安装和启用插件的更多信息,请参阅 Phergie 文档中的 插件安装和启用

配置

此插件需要 命令插件 来识别命令。

如果您是 Phergie 或 Phergie 插件的新手,请参阅 Phergie 设置说明 获取更多信息。否则,将以下引用添加到您的配置文件中

return [
    // ...
    'plugins' => [
        new \Phergie\Irc\Plugin\React\Command\Plugin,   // dependency
	new \Asdfx\Phergie\Plugin\UrbanDictionary\Plugin(),
    ]
]

许可证

在 MIT 许可证下发布。请参阅 LICENSE