Skip to content

Rene-Roscher/ts3audiobot-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Ts3AudioBot Api Client

Software License Latest Version on Packagist Total Downloads

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 in config/app.php file like:
rexlManu\Ts3AudioBot\Providers\Ts3AudioBotServiceProvider::class
  • Add the alias to your aliases[] array in config/app.php file 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.

About

Api client for the c# musicbot ts3audiobot designed for use in laravel applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%