Merge branch 'bulk-delete' of https://github.com/VagantemNumen/discordgo into bulk-delete
This commit is contained in:
commit
d1dd35b677
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ func (s *Session) ChannelMessageDelete(channelID, messageID string) (err error)
|
||||||
// If only one messageID is in the slice call channelMessageDelete funciton.
|
// If only one messageID is in the slice call channelMessageDelete funciton.
|
||||||
// If the slice is empty do nothing.
|
// If the slice is empty do nothing.
|
||||||
// channelID : The ID of the channel for the messages to delete.
|
// channelID : The ID of the channel for the messages to delete.
|
||||||
// messages : The IDs of the messages to be deleted. A slice of string IDs. Maximum 100.
|
// messages : The IDs of the messages to be deleted. A slice of string IDs.
|
||||||
func (s *Session) ChannelMessagesBulkDelete(channelID string, messages []string) (err error) {
|
func (s *Session) ChannelMessagesBulkDelete(channelID string, messages []string) (err error) {
|
||||||
|
|
||||||
if len(messages) == 0 {
|
if len(messages) == 0 {
|
||||||
|
|
Loading…
Reference in a new issue