Skip to content

Simple Discord Mirror is a tool that can be deployed to mirror a Discord channel's messages to another Discord's channel. This tool can also be deployed to log Discord messages in realtime. It utilizes Discord API, WebSocket, Discord Webhook and Python.

License

Notifications You must be signed in to change notification settings

sunnyhaibin/simple-discord-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Discord Mirror

About

Simple Discord Mirror is a tool that can be deployed to mirror a Discord channel's messages to another Discord's channel. This tool can also be deployed to log Discord messages in realtime. It utilizes Discord API, WebSocket, Discord Webhook and Python.

Features

  • Mirror normal message(s)
  • Log messages in realtime

Requirements

Setup

  1. Clone Simple Discord Mirror:
cd ~
git clone https://github.com/sunnyhaibin/simple-discord-mirror.git

cd simple-discord-mirror

or, simply download ws_wh_call.py.

  1. Install the following packages in your environment:

Usage Instructions

$ python ./ws_wh_call.py -h
usage: ws_wh_call.py [-h] --source_server SOURCE_SERVER --source_channel SOURCE_CHANNEL --webhook_url WEBHOOK_URL --webhook_name WEBHOOK_NAME --auth_token AUTH_TOKEN

Mirror and log Discord messages from a defined source channel

optional arguments:
  -h, --help            show this help message and exit

required arguments:
  --source_server SOURCE_SERVER
                        Source channel's Server ID (required)
  --source_channel SOURCE_CHANNEL
                        Source channel's Channel ID (required)
  --webhook_url WEBHOOK_URL
                        The webhook URL to send mirrored messages to the target channel (required)
  --webhook_name WEBHOOK_NAME
                        The webhook name used for the webhook URL (required)
  --auth_token AUTH_TOKEN
                        Authentication Token (required)

Licensing

Simple Discord Mirror is released under the MIT license. Some parts of the software are released under other licenses as specified.

Any user of this software shall indemnify and hold harmless sunnyhaibin and its directors, officers, employees, agents, stockholders, affiliates, subcontractors and customers from and against all allegations, claims, actions, suits, demands, damages, liabilities, obligations, losses, settlements, judgments, costs and expenses (including without limitation attorneys’ fees and costs) which arise out of, relate to or result from any use of this software by user.

THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. NO WARRANTY EXPRESSED OR IMPLIED.


About

Simple Discord Mirror is a tool that can be deployed to mirror a Discord channel's messages to another Discord's channel. This tool can also be deployed to log Discord messages in realtime. It utilizes Discord API, WebSocket, Discord Webhook and Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages