From 97b70c35ee540710d7172e4fa7f6ac3663a979ea Mon Sep 17 00:00:00 2001 From: Twentysix Date: Wed, 4 Jul 2018 11:44:20 +0200 Subject: [PATCH] [Streams] Clearer instructions for Twitch's Client ID (#1874) --- cogs/streams.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cogs/streams.py b/cogs/streams.py index 9570707bc..94f280f11 100644 --- a/cogs/streams.py +++ b/cogs/streams.py @@ -294,9 +294,16 @@ class Streams: @streamset.command() @checks.is_owner() async def twitchtoken(self, token : str): - """Sets the Client-ID for Twitch + """Sets the Client ID for twitch - https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843""" + To do this, follow these steps: + 1. Go to this page: https://dev.twitch.tv/dashboard/apps. + 2. Click 'Register Your Application' + 3. Enter a name, set the OAuth Redirect URI to 'http://localhost', and + select an Application Category of your choosing. + 4. Click 'Register', and on the following page, copy the Client ID. + 5. Paste the Client ID into this command. Done! + """ self.settings["TWITCH_TOKEN"] = token dataIO.save_json("data/streams/settings.json", self.settings) await self.bot.say('Twitch Client-ID set.')