~kris/9p

glenda

6af501f5951a79b1c65242fb43c04a48b1a852d9 — Sean Hinchee 8 years ago b11bdfc
tweaks
4 files changed, 20 insertions(+), 33 deletions(-)

M README.md
D disgord
M main.go
M mux.go
M README.md => README.md +4 -26
@@ 1,47 1,25 @@
# Disgord
[![Go report](http://goreportcard.com/badge/bwmarrin/disgord)](http://goreportcard.com/report/bwmarrin/disgord) [![Build Status](https://travis-ci.org/bwmarrin/disgord.svg?branch=master)](https://travis-ci.org/bwmarrin/disgord) [![Discord Gophers](https://img.shields.io/badge/Discord%20Gophers-%23info-blue.svg)](https://discord.gg/0f1SbxBZjYq9jLBk)
<img align="right" src="https://raw.githubusercontent.com/wiki/bwmarrin/disgord/images/gourd.jpg">

# Glenda Bot
Dis**go**rd is an example of or starting point for creating an easy to use and 
extensible Discord bot using the [DiscordGo](https://github.com/bwmarrin/discordgo) 
library.

If you would like to help the Disgord or DiscordGo package please use 
[this link](https://discordapp.com/oauth2/authorize?client_id=173113690092994561&scope=bot)
to add the official DiscordGo test bot **dgo** to your server. This provides 
indispensable help to this project.

**For help with this program or general Go discussion, please join the [Discord 
Gophers](https://discord.gg/0f1SbxBZjYq9jLBk) chat server.**

## Getting Started

The below assumes you already have a working Go environment, if not please see
[this page](https://golang.org/doc/install) first.

### Installing

Use go get to download the repository into your Go work environment.

```sh
```
go get github.com/bwmarrin/discordgo
```

### Usage
```sh
```
cd $GOPATH/src/github.com/bwmarrin/disgord
go build
./disgord -t BOT_AUTH_TOKEN
./disgord -t 'Bot BOT_AUTH_TOKEN'
```


## Documentation

Glenda Bot invite: https://discordapp.com/oauth2/authorize?client_id=406483821144571915&scope=bot

## Contributing

This repository is more of a placeholder than anything else right now.  It's probably
not in a good position for taking any contributions.  If you have questions or 
want to be involved please find me on the Discord Gophers server.


D disgord => disgord +0 -0
M main.go => main.go +15 -6
@@ 40,12 40,21 @@ func main() {

	// Print out a fancy logo!
	fmt.Printf(` 
	________  .__                               .___
	\______ \ |__| ______ ____   ___________  __| _/
	||    |  \|  |/  ___// ___\ /  _ \_  __ \/ __ | 
	||    '   \  |\___ \/ /_/  >  <_> )  | \/ /_/ | 
	||______  /__/____  >___  / \____/|__|  \____ | 
	\_______\/        \/_____/   %-16s\/`+"\n\n", Version)
            __
           (  \
      __   \  '\
     (  "-_ \ .-'----._
     '-_  "v"         "-
	"Y'             ".
	 |                |
	 |        o     o |
	 |          .<>.  |
	  \         "Ll"  |
	   |             .'
	   |             |
	   (             /
	  /'\         . \
	  "--^--.__,\_)-'   %-16s\/`+"\n\n", Version)

	// Parse command line arguments
	flag.Parse()

M mux.go => mux.go +1 -1
@@ 4,7 4,7 @@ package main
// to the Disgord bot. This is an optional addition however it is included
// by default to demonstrate how to extend the Disgord bot.

import "github.com/bwmarrin/disgord/x/mux"
import "bitbucket.org/henesy/glenda/x/mux"

// Router is registered as a global variable to allow easy access to the
// multiplexer throughout the bot.