AutoCat is a Discord.js bot that automatically sends cat pictures or GIFs to a Discord server channel.
Cat pictures and GIFs are from the CATAAS (Cat as a service) API (https://cataas.com/)
- /cat: Sends a cat picture
- /gif: Sends a cat GIF
- /start: Schedules automatic cat pictures or GIFs to a user-specified channel at a user-specified time (UTC)
- /info: Information about the bot
- /list: Lists scheduled cats in the server
- /stop: Stops the automatic cat pictures or GIFs
- bot.js: The main bot file
- config.json: The bot token, not included in the repository
- scheduler.js: Schedules and sends automatic pictures
- schedules.json: The schedule database (channels, times)
- Install the Node.js dependencies (npm install discord.js @discordjs/builders node-cron, fs)
- Download the bot.js and scheduler.js file
- Create a config.json file with your bot token
- Create a schedules.json file. If it does not exist, the bot will create one.
- Run the bot (node bot.js)