shiftybitshiftr / lfgbot

stupid simple starboard bot for discord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LFGbot

stupid simple starboard bot for discord

image

Features

  • Monitors all channels and threads for reactions.
  • Reposts messages to a specified channel when they receive a defined number of reactions.
  • Ignores reactions from the message author.
  • Ignores reactions in the target reposting channel.
  • Reposts include a permalink to the original message and the message content in a block quote.
  • Reuploads message attachments.

Requirements

  • Python 3.7+
  • discord library
  • logging library
  • asyncio library

Installation

  1. Clone the repository:

    git clone https://github.com/shiftybitshiftr/lfgbot.git
    cd LFGBot
  2. Create a virtual environment and activate it:

    python -m venv botenv
    source botenv/bin/activate  # On Windows use `botenv\Scripts\activate`
  3. Install the required dependencies:

    pip install discord.py

Configuration

  1. Replace token-placeholder with your actual bot OAuth token in the script.
  2. Replace channel-id-placeholder with the ID of the channel where the messages should be reposted.

Running the Bot

  1. Activate the virtual environment if not already activated:

    source botenv/bin/activate  # On Windows use `botenv\Scripts\activate`
  2. Run the bot:

    python lfgbot.py

image

About

stupid simple starboard bot for discord


Languages

Language:Python 100.0%