Goscord/goscord

"SendMessage" was renamed, documentation needs to be updated

Closed this issue ยท 1 comments

client.On("messageCreate", func(msg *discord.Message) {
 	if msg.Content == "ping" {
-		client.Channel.Send(msg.ChannelId, "Pong ! ๐Ÿ“")
+               client.Channel.SendMessage(msg.ChannelId, "Pong ! ๐Ÿ“")
	}
})

Indeed the documentation is out of date, this will be corrected before the v1 release.