Skip to content

LakayFTW/Doggo-Bot

Repository files navigation

Doggo-Bot

Node.js Discord

Doggo is a Discord Bot you can host yourself with Docker.
In the future a version of Doggo which will hold some exclusive features will exist.

Table of Contents

Setup

Development

  1. Clone the repositoy to your desired filepath
  2. run npm i or npm install to build project dependencies
  3. Create a config.json in the document root.
  4. Add the following
    {
        "token": "your_token_goes_here",
        "clientId": "your_client_id_goes_here",
        "guildId": "your_server_id_goes_here"
    }
    token: You get this from the Discord developer Portal
    clientId: You get this from the Discord developer Portal
    guildId: Your Development Server's id > Right-click the server title > "Copy ID"
  5. Run npm run bot in the root directory

Dependencies

You will need NodeJS and NPM.

Production

In Production you need to run the project in a Docker.
You can execute the docker-compose.yml with docker-compose up -d --build.

Usage

To register the commands only on your development server execute deploy-commands-testguild.js with:

$ node deploy-commands-testguild.js

To register commands on all servers execute the deploy-commands-all.js with:

$ node deploy-commands-all.js

Reloading commands

To reload commands after editing them use the command /reload "commandname" in discord.

Current Build in Features

WIP

About

Custom Discord Bot built with Discord.js

Resources

Stars

Watchers

Forks