You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the YouTube documentation page, as it is seriously outdated and
thus inaccurate.
List the supported URLs YAGPDB attempts to extract the channel from;
add a separate header for the configuration options and explain how to
edit an already existing feed.
Detail the limit of 10 (250) active feeds and the behaviour when
exceeding that limit.
Explain the custom announcement message, listing additional context data
available therein, as well as outline the "danger" that arises regarding
role / everyone mentions when using it.
Signed-off-by: Luca Zeuch <[email protected]>
The bot needs mention `@everyone` or "mention this role" permissions if you wish to mention everyone or a specific role
65
+
of your choosing.
19
66
20
67
{{< /callout >}}
21
68
22
-

69
+
You need not configure any of these ahead of time, you can always [edit the feed](#editing-a-youtube-feed) later.
70
+
71
+
## Editing a YouTube Feed
72
+
73
+
To edit a feed, scroll down further until you reach the "Current subscribed channels" section. There you will find a
74
+
list of all the feeds you have added.
75
+
76
+

77
+
78
+
Going from left to right of the editable options, you can change the following:
79
+
80
+
- The Discord channel to post to
81
+
- Mention `@everyone` in the announcement message
82
+
- Mention a specific role
83
+
- Also publish livestreams
84
+
- Also publish shorts
85
+
- Disable the feed until you enable it again
23
86
24
-
To get notifications from a YouTube channel, simply go to the YouTuber's channel and input either the ID or the Username in their respective field of the followings:
87
+
Once you have made your changes, click the "Save" button on the far right to save your changes. If you instead wish to
88
+
delete the feed, click the "Delete" button just below the "Save" button. None of these options need to be equal across
89
+
all your feeds, you can have different settings for each feed.
25
90
26
-
- YouTube Channel ID
91
+
You can only save changes to a feed one at a time, so if there are multiple feeds you wish to edit, you have to do so
92
+
separately, saving after each feed you edited.
27
93
28
-
- YouTube Channel Username
94
+
## Custom Announcement
95
+
96
+
If you take a look at the top-right of the configuration page, you'll see a field for custom command templates for usage
97
+
in the announcement message provided for YouTube feeds. The default response is the following code:
98
+
99
+
```yag
100
+
{{.ChannelName}} published a new video! {{.URL}}
101
+
```
102
+
103
+
You can customize this message to your liking, but bear in mind that using a custom announcement message will override
104
+
the default announcement's mention settings *for all channels*, therefore you will have to implement this logic by
105
+
yourself. Refer to the [mentions functions](https://help.yagpdb.xyz/docs/reference/templates/functions/#mentions) for
0 commit comments