Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
discord_embed_builder-goinglive [2020/02/19 22:13] – ianchandler1990 | discord_embed_builder-goinglive [2020/07/05 10:33] – ianchandler1990 | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Overview ===== | ===== Overview ===== | ||
- | |||
- | <color red> | ||
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:// | ||
**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:// | **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:// | ||
- | |||
- | ---- | ||
- | |||
- | ===== 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:// | ||
- | |||
- | 1. Go to [[https:// | ||
- | |||
- | 2. If you already have an app you can make use of this one. Otherwise click on " | ||
- | |||
- | **Note:** As you are probably going to be running this locally, put **http:// | ||
- | |||
- | 3. After you have registered your application, | ||
- | |||
- | 4. Create two text files in the " | ||
- | |||
- | 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:// | ||
---- | ---- | ||
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/ | !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/ | ||
+ | |||
+ | !installgoinglive - will make all the folder and files needed for this command to pull infomation from the Twitch API. | ||
---- | ---- |