From 4a90cfa251833d672beefa03e836ac74cbfd12d9 Mon Sep 17 00:00:00 2001 From: Amavect <28678586+Amavect@users.noreply.github.com> Date: Thu, 8 Nov 2018 23:50:11 +0000 Subject: [PATCH] add newuser.go --- x/mux/newuser.go | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 x/mux/newuser.go diff --git a/x/mux/newuser.go b/x/mux/newuser.go new file mode 100644 index 0000000000000000000000000000000000000000..dd0892ee4c54e6069e81e52e8e35b6920d6602df --- /dev/null +++ b/x/mux/newuser.go @@ -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 +} +