discordmuffin/examples/avatar/README.md
2016-05-16 14:38:06 +05:00

28 lines
789 B
Markdown

<img align="right" src="http://bwmarrin.github.io/discordgo/img/discordgo.png">
Avatar Examples
====
These example demonstrates how to utilize DiscordGo to change the account avatar using local files and urls as well as with use of commands.
### Build
This assumes you already have a working Go environment setup and that DiscordGo is correctly installed on your system.
Change directory into the example you wish to build.
```sh
cd $GOPATH/src/github.com/bwmarrin/discordgo/examples/avatar/localfile
```
```sh
cd $GOPATH/src/github.com/bwmarrin/discordgo/examples/avatar/url
```
```sh
cd $GOPATH/src/github.com/bwmarrin/discordgo/examples/avatar/command
```
```sh
go build
```
### Usage
Please refer to the README.md inside the example folder for usage of that particular example.