~kris/9p

glenda

4a90cfa251833d672beefa03e836ac74cbfd12d9 — Amavect 7 years ago f662131
add newuser.go
1 files changed, 27 insertions(+), 0 deletions(-)

A x/mux/newuser.go
A x/mux/newuser.go => x/mux/newuser.go +27 -0
@@ 0,0 1,27 @@
package mux

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

// Help for newbies. :D
func (m *Mux) Newuser(ds *discordgo.Session, dm *discordgo.Message, ctx *Context) {
	resp := ""
	resp += `Welcome to 9fans! Here's an introduction and resources for Plan 9 and 9front.
In this community, you are expected to read the docs and man pages.
However, don't be afraid to ask for help and clarification!
Install 9front: http://9front.org/ http://fqa.9front.org/
Extensive beginner's guide: http://lsub.org/who/nemo/9.intro.pdf
Read the man pages: http://man.9front.org/ (also use 'man [page name]' or 'lookman [keyword]')
Read the docs: http://doc.cat-v.org/plan_9/4th_edition/papers/ (also found in /sys/doc, use 'page [file]')
Wiki for additional help: https://9p.io/wiki/plan9/plan_9_wiki/ (some info may be outdated)"
Miscellaneous Plan 9 websites: http://blog.postnix.us/ https://code.9front.org/hg/
http://9gridchan.org/ http://felloff.net/usr/cinap_lenrek/
	`
	resp += "\n"

	ds.ChannelMessageSend(dm.ChannelID, resp)

	return
}