~kris/9p

glenda

ref: ac5d697efa679487ceda0658945cf5653eaf35ed glenda/x/mux/about.go -rw-r--r-- 484 bytes
ac5d697e — Sean Hinchee migrated config to mux, this makes more sense 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
}