Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Thread Accessibility Messaging #74

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gopher.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func main() {
handlers.RecommendedChannels("recommended channels", recommendedChannels),
handlers.NewbieResources("newbie resources"),
handlers.SearchForLibrary("library for"),

handlers.XKCD("xkcd:",
map[string]int{
"standards": 927,
Expand Down Expand Up @@ -257,6 +258,7 @@ func main() {
`- <https://segment.com/blog/allocation-efficiency-in-high-performance-go-services/>`,
}, "\n"),
),
handlers.RespondTo([]string{"threads"}, "Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel."),
sha1sum marked this conversation as resolved.
Show resolved Hide resolved
handlers.RespondTo([]string{"help"},
strings.Join([]string{
`Here's a list of supported commands`,
Expand Down
11 changes: 8 additions & 3 deletions handlers/join.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,25 @@ func welcomeMessage(channels []Channel) string {
welcomeChannels += fmt.Sprintf("- #%s -> %s\n", c.Name, c.Description)
}

return `Welcome to the Gophers Slack channel.
return `Welcome to the Gophers Slack community.

*Please read this message; it contains helpful suggestions for interacting within the community.*

This Slack is meant to connect gophers from all over the world in a central place.
There is also a forum: https://forum.golangbridge.org, you might want to check it out as well.
We have a few rules that you can see here: http://coc.golangbridge.org.

To share code, you should use: https://play.golang.org/ as it makes it easy for others to help you.

Out of respect for the visually impaired, please refrain from using Slack threads, as they are not accessible for screen readers. Instead, post your replies within the channel.
sha1sum marked this conversation as resolved.
Show resolved Hide resolved

Here's a list of a few channels you could join:
` + welcomeChannels + `

If you want more suggestions, type "recommended channels".
There are quite a few other channels, depending on your interests or location (we have city / country wide channels).
Just click on the channel list and search for anything that crosses your mind.

To share code, you should use: https://play.golang.org/ as it makes it easy for others to help you.

If you are new to Go and want a copy of the Go In Action book, https://www.manning.com/books/go-in-action, please send an email to @wkennedy at bill@ardanlabs.com

If you are interested in a free copy of the Go Web Programming book by Sau Sheong Chang, @sausheong, please send him an email at sausheong@gmail.com
Expand Down