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.
- 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.
This setup guide assumes that you have a Discord developer account and have bot credentials prepared.
- Clone the repository:
git clone https://github.com/yourusername/TheDoggoBot.git
- Install dependencies:
cd TheDoggoBot
npm install
- Set up environment variables:
- Create a .env file in the root directory. Add the following variables:
DISCORD_TOKEN=
CLIENT_ID=
DATABASE_URL=
- Run the bot:
npm start
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.
Contributions are welcome! Feel free to open issues or pull requests for any improvements or fixes.
This project is licensed under the MIT License.