Skip to content

Commit

Permalink
Twitch API removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ilias-sp committed Sep 25, 2021
1 parent 14a42c9 commit 4e824cb
Show file tree
Hide file tree
Showing 8 changed files with 152 additions and 286 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,6 @@ Unless, you have defined otherwise in the `conf/config.php`, the bot supports th
| !editcmd | used to update the response of an existing command. |
| !removecmd | used to remove an existing command. |

- Twitch API v5 commands (to enable these commands, additional configuration is needed, please check [here](documentation/Using_Twitch_API.md)):

| Command | Purpose |
| ----------------------- | ----------------------- |
| !title | Change the Channel's title |
| !game | Change the Channel's game |
| !issub | Check if a user is subscribed to your channel (this command will only work if you are running the bot using your Channel's account) |

- Bot's administrators management:

| Command | Purpose |
Expand Down
2 changes: 1 addition & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=4.0.2
VERSION=4.0.3
13 changes: 0 additions & 13 deletions conf/channel_credentials.php.TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,3 @@ $config['nickname'] = '';
// in the URL of your stream, for example if your stream is : https://www.twitch.tv/abc123, you need
// to fill in: abc123
$config['channel'] = '';


// FIll in your Twitch App details. Needed for querying the Twitch API (find out if viewer is a channel's sub, change streams title, etc).
$config['app_client_id'] = '';
$config['app_client_secret'] = '';
// To generate an Oath token for your Twitch App, you need to open the below URL in your browser querying the below site.
// First replace the string XXXXX with your Twitch App's client-ID:
//
// https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=XXXXXXXXXXXX&redirect_uri=https://twitchapps.com/tokengen/&scope=channel_check_subscription+channel_editor
//
// Make sure your Twitch App has as "OAuth Redirect URLs" the website: "https://twitchapps.com/tokengen/"
//
$config['oath_twitchAPI_token'] = '';
5 changes: 0 additions & 5 deletions conf/config.php.TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ $config['loyalty_points_welcome_award'] = 1000; // amount of LP awarded to new v
$config['loyaltypoints_keyword'] = '!izyeuros';


// twitch API related commands:
$config['admin_twitchapi_set_stream_title'] = '!title';
$config['admin_twitchapi_set_stream_game'] = '!game';
$config['admin_twitchapi_is_user_a_sub'] = '!issub';

// twitch VIP commands:
$config['admin_addvip_command'] = '!addvip';
$config['admin_removevip_command'] = '!removevip';
41 changes: 0 additions & 41 deletions documentation/Using_Twitch_API.md

This file was deleted.

Loading

0 comments on commit 4e824cb

Please sign in to comment.