Skip to content

A discord bot that uses the DogCEO api to send pictures of dogs.

License

Notifications You must be signed in to change notification settings

aaronpo97/doggobot

Repository files navigation

The DoggoBot

The DoggoBot is a Discord bot built in TypeScript using the discord.js library. Its main functionality is to periodically send pictures of dogs to designated channels on Discord servers. It utilizes an open source dog api to fetch images of dogs and CockroachDB to store information on which channel in which server to send the images to.

Features

  • Sends pictures of dogs to designated channels on Discord servers.
  • Utilizes the dog.ceo open-source dog API to fetch images of dogs.
  • Uses CockroachDB to store information on channel-server mapping.

Local Setup

This setup guide assumes that you have a Discord developer account and have bot credentials prepared.

  1. Clone the repository:
git clone https://github.com/yourusername/TheDoggoBot.git
  1. Install dependencies:
cd TheDoggoBot
npm install
  1. Set up environment variables:
  • Create a .env file in the root directory. Add the following variables:
DISCORD_TOKEN=
CLIENT_ID=
DATABASE_URL=
  1. Run the bot:
npm start

Usage

Once the bot is running and added to your Discord server, it will automatically send pictures of dogs to the designated channels at periodic intervals.

Contributing

Contributions are welcome! Feel free to open issues or pull requests for any improvements or fixes.

License

This project is licensed under the MIT License.

About

A discord bot that uses the DogCEO api to send pictures of dogs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published