1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-11-06 09:09:09 +02:00

Merge pull request #7 from Mischala/patch-1

Fixed copy-paste error in comment
This commit is contained in:
Niko Köser
2021-01-28 23:18:29 +01:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ func parseOAuthToken(token string) string {
return "Bearer " + token
}
// AddReceivers takes Telegram channel IDs and adds them to the internal channel ID list. The Send method will send
// AddReceivers takes Discord channel IDs and adds them to the internal channel ID list. The Send method will send
// a given message to all those channels.
func (d *Discord) AddReceivers(channelIDs ...string) {
d.channelIDs = append(d.channelIDs, channelIDs...)