cookiemc337/ts3audiobot
最新稳定版本:4.0
Composer 安装命令:
composer require cookiemc337/ts3audiobot
包简介
Api client for the c# project ts3audiobot designed for use in laravel applications (Fork from rexlManu)
README 文档
README
Introduction
Php Api client for the c# musicbot Ts3AudioBot for the laravel artisan framework
Installation
- Use following command to install:
composer require rexlmanu/ts3audiobot
Only when for laravel below 5.4:
- Add the service provider to your
providers[]array inconfig/app.phpfile like:
rexlManu\Ts3AudioBot\Providers\Ts3AudioBotServiceProvider::class
- Add the alias to your
aliases[]array inconfig/app.phpfile like:
'Ts3AudioBot' => rexlManu\Ts3AudioBot\Facades\Ts3AudioBot::class
Usage
Following are some ways through which you can access the ts3audiobot provider:
// Import the class namespaces first, before using it directly use rexlManu\Ts3AudioBot\Facades\Ts3AudioBot; $instance = Ts3AudioBot::instance('your address', 58913, 'your token', true); $instance->bot(1)->play(rawurlencode('https://www.youtube.com/watch?v=yHwGIA4VeOc')); $instance->help(); $instance->systemInfo();
Support
This plugin only supports Laravel 5.1 or greater.
- In case of any issues, kindly create one on the Issues section.
- If you would like to contribute:
- Fork this repository.
- Implement your features.
- Generate pull request.
统计信息
- 总下载量: 53
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-22