This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
///////////////////// | |
// slack2html | |
// by @levelsio | |
///////////////////// | |
// | |
///////////////////// | |
// WHAT DOES THIS DO? | |
///////////////////// | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is a simple script to invite users to your slack | |
* Replace the subdomain and token in the variables below. | |
* Upload a logo called "logo.png" to the same directory for your group | |
* Upload a logo called "slack.png" to the same directory for slack | |
*/ | |
define('SUBDOMAIN','{YOUR SUBDOMAIN HERE}'); | |
define('TOKEN','{YOUR API TOKEN HERE}'); | |
?> |