https://github.com/ryanleecode/drd-discord-bot
https://github.com/ryanleecode/drd-discord-bot
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryanleecode/drd-discord-bot
- Owner: ryanleecode
- Created: 2018-10-18T03:53:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T04:42:39.000Z (over 7 years ago)
- Last Synced: 2025-08-07T23:38:06.678Z (11 months ago)
- Language: Go
- Size: 4.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drd Discord Bot
## Prerequisites
- [Go](https://golang.org/dl/)
- [Make](http://gnuwin32.sourceforge.net/packages/make.htm)
- [Discord](https://discordapp.com/)
## Usage
```
NAME:
Drd Bot - General purpose discord bot
USAGE:
!cmd [global options] command [command options] [arguments...]
VERSION:
0.0.0
COMMANDS:
register Registers a user for this bot's services on a Discord service
anime List all anime related commands
auction List all auction related commands
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
```
## Setup
1. Create a developer account on the [Discord Developer Portal](https://discordapp.com/developers/applications/)
2. Create an application and a bot
3. Add your bot to your server using https://discordapp.com/oauth2/authorize?client_id={CLIENTID}&scope=bot
4. Save your **bot token** somewhere
## Building
### Environment File
1. Create a `.env` file in the root of your directory and fill it in with the following fields
```sh
CMD_PREFIX=
BOT_TOKEN=
EOF_DELIM=
DB_PORT=
DB_HOST=
DB_USERNAME=
DB_PASSWORD=
DB_NAME=
```
### Terminal 2
```sh
./bin/drdbot
```