"SendMessage" was renamed, documentation needs to be updated
Closed this issue ยท 1 comments
uvulpos commented
client.On("messageCreate", func(msg *discord.Message) {
if msg.Content == "ping" {
- client.Channel.Send(msg.ChannelId, "Pong ! ๐")
+ client.Channel.SendMessage(msg.ChannelId, "Pong ! ๐")
}
})
szerookii commented
Indeed the documentation is out of date, this will be corrected before the v1 release.