https://github.com/darkliquid/d0g
A simple discord bot in Golang
https://github.com/darkliquid/d0g
discord-bot golang
Last synced: 6 months ago
JSON representation
A simple discord bot in Golang
- Host: GitHub
- URL: https://github.com/darkliquid/d0g
- Owner: darkliquid
- License: mit
- Created: 2016-10-30T11:12:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T20:55:10.000Z (over 9 years ago)
- Last Synced: 2024-06-20T15:53:25.721Z (about 2 years ago)
- Topics: discord-bot, golang
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# D0g [](https://goreportcard.com/report/github.com/darkliquid/D0g) [](https://github.com/darkliquid/D0g/blob/master/LICENSE) [](https://godoc.org/github.com/darkliquid/D0g) [](https://travis-ci.org/darkliquid/D0g)
A discord bot written in Go for City17.
## Setup
To setup the bot, you need first create an application via the discord dev area
here: https://discordapp.com/developers/applications/me
You can safely ignore virtually everything it says, just give it a name and
then click create. After that, you'll have a "Create a Bot User" button for
you app, click it to get the actual bot user.
Now you have a bot user, you can get the token for the bot. You'll need this
for the bot config file. You'll also see a client ID, you'l want this too for
the next step.
The final step to add the bot to your server is to go to the following url,
with YOUR_CLIENT_ID substituted for the client ID of your bot: https://discordapp.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID&scope=bot&permissions=0
That will give you the option to select a server you own to join the bot to.