1
0
mirror of https://github.com/nikoksr/notify.git synced 2024-11-28 08:39:13 +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
commit f14ac841f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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...)