Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
discord_embed_builder-goinglive [2020/02/19 22:13] ianchandler1990discord_embed_builder-goinglive [2020/07/05 10:33] ianchandler1990
Line 11: Line 11:
  
 ===== Overview ===== ===== Overview =====
- 
-<color red>**Dont use!! Needs to be updated with new twitch api!!!</color>\\ 
  
 Ever wondered how discord bots like mee6 have stylised links for streamers that have gone live? Notice how it always catches your eye? That's all done by the use of a Discord embed. Now you have the power to do that from Deepbot itself for when you go live!  Ever wondered how discord bots like mee6 have stylised links for streamers that have gone live? Notice how it always catches your eye? That's all done by the use of a Discord embed. Now you have the power to do that from Deepbot itself for when you go live! 
- 
-**Note:** This feature is currently in testing. You can try this functionality out yourself by downloading the latest Dev Alpha [[http://wiki.deepbot.tv/update_to_alpha|Update to Alpha]] 
  
 **Note 2:** If you are not live the following will post a demo message instead **Note 2:** If you are not live the following will post a demo message instead
  
 **Note 3:** This command requires Deepbot VIP Membership in order to function. If you currently aren't a VIP you will need to subscribe. You can subscribe via the following link: [[http://deepbot.deep.sg/services|Services Page]] **Note 3:** This command requires Deepbot VIP Membership in order to function. If you currently aren't a VIP you will need to subscribe. You can subscribe via the following link: [[http://deepbot.deep.sg/services|Services Page]]
- 
----- 
- 
-===== Pre Setup ===== 
- 
-In order for this to work you will need to create yourself an app on Twitch. If you have already have this skip to Step 4. Otherwise read on! 
- 
-The reason you need to create an app on Twitch is so you can read data from the Twitch API, which requires you to have a client ID. You can read the following Twitch blog post to find out the reason for this: [[https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843|Client-ID Required For Kraken API Calls]] 
- 
-1. Go to [[https://dev.twitch.tv/dashboard/apps|Twitch Dev Apps]]. You will need to authorise the site to use your account. After this it will take you to the main page where you will need to click on "Manage My Apps". 
- 
-2. If you already have an app you can make use of this one. Otherwise click on "Register Your Application" and follow the steps it shows 
- 
-**Note:** As you are probably going to be running this locally, put **http://localhost** in the OAuth Redirect URI textbox. 
- 
-3. After you have registered your application, copy the client-id. 
- 
-4. Create two text files in the "Custom Logs" folder where you have Deepbot installed. These text files will need to be called **client_id.txt** and **channel_id.txt** 
- 
-5. Paste the client-id you copied earlier into the client_id.txt text file. 
- 
-6. Next, you will need to get your Twitch channel ID and paste this into the channel_id.txt text file. If you need to find out what your channel ID is you can go to the following website [[https://api.chandler-gaming.com/lookup/|Lookup Info]]. 
  
 ---- ----
Line 54: Line 28:
 3. Go to Master Settings and scroll down to Go Live Broadcast Msg. In the text box put !goinglive. 3. Go to Master Settings and scroll down to Go Live Broadcast Msg. In the text box put !goinglive.
  
-Now you should be go to go. Whenever Deepbot detects that you have done live it will activate the !goinglive command which will post a fancy message in the discord channel you chose. Happy days! +4. Type in chat !installgoinglive (important this needs to be run from twitch chat as your streamer account, If not you will need to import the cmds again and run the !installgoinglive cmd again as it will delete itself after this command is run)  
 + 
 +Now you should be good to go. Whenever Deepbot detects that you have gone live it will activate the !goinglive command which will post a fancy message in the discord channel you chose. Happy days! 
  
 **Note** If you would like to edit the discord embed that gets posted or you'd like to learn more about what each thing does, click the following link: [[discord_embed_builder-custom|Embed Builder Guide]] **Note** If you would like to edit the discord embed that gets posted or you'd like to learn more about what each thing does, click the following link: [[discord_embed_builder-custom|Embed Builder Guide]]
Line 63: Line 39:
  
 !goinglive - Command will run when the bot detects when you have gone live on twitch, If you need to run this command again you can just type this in discord to trigger it. (Streamer/Bot Only) !goinglive - Command will run when the bot detects when you have gone live on twitch, If you need to run this command again you can just type this in discord to trigger it. (Streamer/Bot Only)
 +
 +!installgoinglive - will make all the folder and files needed for this command to pull infomation from the Twitch API.
  
 ---- ----