From d300b341b3489dc3e87ddd48ec0c5ba57961286e Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 6 Apr 2020 11:47:32 -0800 Subject: [PATCH] Update comments for Godoc --- context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/context.go b/context.go index ab7218f..f1efcfe 100644 --- a/context.go +++ b/context.go @@ -16,12 +16,12 @@ func (c *Context) Send(message string) (*discordgo.Message, error) { return c.Session.ChannelMessageSend(c.Channel.ID, message) } -// Send embed to originating channel +// Send an embed to originating channel func (c *Context) SendEmbed(embed *discordgo.MessageEmbed) (*discordgo.Message, error) { return c.Session.ChannelMessageSendEmbed(c.Channel.ID, embed) } -// Send embed to originating channel +// Send a file to originating channel func (c *Context) SendFile(filename string, file io.Reader) (*discordgo.Message, error) { return c.Session.ChannelFileSend(c.Channel.ID, filename, file) }