~kris/9p

glenda

ref: 8d60bd9f16cdcdb8b2a31a299ce818a8b9683caa glenda/x/mux/about.go -rw-r--r-- 484 bytes
8d60bd9f — Sean Hinchee tweaks working on subscribe 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package mux

import (
	"github.com/bwmarrin/discordgo"
)

// Display basic information about the bot
func (m *Mux) About(ds *discordgo.Session, dm *discordgo.Message, ctx *Context) {
	resp := ""

	resp += `Hi!
My name is Glenda, my namesake is Glenda the Plan 9 mascot! (http://glenda.cat-v.org)
	
My source code is located at https://bitbucket.org/henesy/glenda. I am written in Go (https://tour.golang.org).
	`

	resp += "\n"

	ds.ChannelMessageSend(dm.ChannelID, resp)

	return
}