Skip to content

A simple discord bot that retrieves images from pinterest, downloads them, then posts them on discord chat.

Notifications You must be signed in to change notification settings

cheybah/DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordBot - Discord Image Bot

DiscordBot is a Discord bot designed to fetch and share random images from a Pinterest board or page on your Discord server. It offers an engaging way to share content with your server members.

Features

  • Fetch and share random images from a Pinterest board or page.
  • Customizable command prefix for bot interaction.
  • Easy setup and configuration.
  • Ability to change the Pinterest URL to scrape.
  • Works with various image file formats.

Getting Started

Follow these steps to set up and run DiscordBot on your Discord server:

  • Clone the repository to your local machine.
  • Install the necessary dependencies.
  • Configure the bot token and Pinterest URL.
  • Run the bot on your server.

For detailed instructions, please refer to the project documentation.

Configuration

Before running the bot, make sure to configure the following settings:

  • Bot token: Obtain a bot token from the Discord Developer Portal.
  • Pinterest URL: Set the URL of the Pinterest board or page you want to scrape.

Usage

Mention your bot using @botname or use the defined command prefix (default is !). Utilize the !post command to have the bot share a random image from the Pinterest board or page with your server.

Once the bot is running on your server, you can use the provided commands to fetch and share random images from the configured Pinterest source.

Customization

Feel free to customize the bot by modifying its code. For instance, you can change the command prefix, supported image file extensions, or add more features as needed.

Contributing

Contributions to this project are welcomed! If you'd like to contribute, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes.
  4. Commit your changes and push them to your fork.
  5. Submit a pull request to the original repository.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for both personal and commercial purposes.

Libraries Used

  • discord.py: The library for building Discord bots.
  • requests: A library for making HTTP requests in Python.
  • Beautiful Soup: A library for web scraping purposes.

Thank you for using our DiscordBot! If you have any questions or need assistance, please reach out to the project maintainers.

About

A simple discord bot that retrieves images from pinterest, downloads them, then posts them on discord chat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages