Quick Channel Modify: Close/Open/Hide [PHP]

shockli

Contributor
Jan 29, 2016
243
194
111
Recently I wanted to see how good planetteamspeak.com's PHP API is. I decided to code something as a favor to a friend of mine, which he has wanted for a long time.

Scenario:
He has a support channel, and has dedicated staff for it certain times during the day. He wanted them to be able to open and close the channel, or lock it if it is busy being used. He also wanted to see if they even check in the day. I coded a small script that responds to the commands below:

Commands:
Code:
!close
!open
!hide

Why should you care?
I personally hate this api because it's documentation is shit, but it will help beginners along. I want to see people forking this, customizing it to help themselves. I want to see you taking this plugin, changing one of the functions and re-branding it.

99% of credits go to @Ridicc

License:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <[email protected]>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.

Download it:
https://gitlab.com/skokkk/support-bot/tree/master
 
Last edited:
Top