Skip to content

This bot forwards messages from a specific Discord channel to a webhook, including user avatars and messages.

Notifications You must be signed in to change notification settings

zentonik/MessageBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

MessageBot

MessageBot is a Discord bot designed to forward messages from a specific channel to a designated webhook. It captures user avatars and message content and sends this information to the webhook.

Features

  • Forwards messages from a specified Discord channel to a webhook.
  • Displays user avatars and message content in the forwarded messages.
  • Logs the status of the webhook request.

Prerequisites

  • Python 3.7 or higher
  • discord.py library
  • requests library

Configuration

  • DISCORD_TOKEN = 'your_discord_token' # Your Discord bot token
  • CHANNEL_ID = 123 # Your channel ID
  • WEBHOOK_URL = 'your_webhook_url' # Your webhook URL

Installation

  1. Clone the repository:

    git clone https://github.com/zentonik/MessageBot.git
    cd MessageBot
    

About

This bot forwards messages from a specific Discord channel to a webhook, including user avatars and messages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages