var userIDreplace … // replace UserID-@Mention with name func (r *RatzServer) checkUserHandleMapping(text string) string { … } // Post a message to a channel with a picture of Ratz speaking func (r *RatzServer) RatzImageMacro(channel string, text string, t content.ImageMacroType) common.Message { … } // Reply to a message with an image macro of Ratz speaking func (r *RatzServer) ReplyWithRatzImageMacro(message common.Message, text string) common.Message { … } func generateRatzImageMacro(text string, i content.ImageMacroType) *images.LocalImage { … }