|
8 år sedan | |
---|---|---|
.. | ||
localfile | 8 år sedan | |
url | 8 år sedan | |
README.md | 8 år sedan |
These example demonstrates how to utilize DiscordGo to change the account avatar using local files and urls.
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.
cd $GOPATH/src/github.com/bwmarrin/discordgo/examples/avatar/localfile
cd $GOPATH/src/github.com/bwmarrin/discordgo/examples/avatar/url
go build
Please refer to the README.md inside the example folder for usage of that particular example.