discordgo icon indicating copy to clipboard operation
discordgo copied to clipboard

Problems with the use of MessageType

Open savico-swee opened this issue 1 year ago • 0 comments

discordgo v0.27.1 I found a problem, I can't specify the message type when sending a message. The existing methods for sending messages are: ChannelMessageSend, ChannelMessageSendComplex, ChannelMessageSendEmbed, etc. What I want is for the handler to be able to tell which type the message belongs to by the Type when it listens to MessageCreate. So would it be possible to improve this by having a parameter that sets the type of message before sending it?

savico-swee avatar Apr 18 '23 06:04 savico-swee