This pull request addresses the issue #4 - "Fetch a post periodically". It implements a feature to fetch posts from the r/aww subreddit at regular intervals and post them in the specified Discord channel.
Changes Made
Added node-fetch to make HTTP requests to the Reddit API.
Updated bot.js to include a scheduled task that fetches posts from r/aww every minute.
Overview
This pull request addresses the issue #4 - "Fetch a post periodically". It implements a feature to fetch posts from the r/aww subreddit at regular intervals and post them in the specified Discord channel.
Changes Made
node-fetch
to make HTTP requests to the Reddit API.bot.js
to include a scheduled task that fetches posts from r/aww every minute.So I tested it on my discord server.
fixes #4