Closed uvulpos closed 1 year ago
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.