1
0
Fork
You've already forked distort
0
Discord API wrapper and collection of scripts
  • Python 100%
Find a file
2025年05月05日 16:29:08 +02:00
source Improved channels.py script 2025年05月05日 16:29:08 +02:00
LICENSE Initial commit 2025年05月05日 16:04:01 +02:00
README.md Initial commit 2025年05月05日 16:04:01 +02:00

This repository contains a simple wrapper for Discord's API. To showcase its use, multiple scripts are provided:

  • channels.py token guild: Used to get a list of channels inside a guild (even private ones)
  • remover.py token guild/channel: Removes all the account's messages in the provided guild/channel
  • tester.py token: Returns an HTTP response status code that describes the token's validity

Replace token with a Discord account token and guild/channel with the ID of a guild or channel, for example:

python remover.py MTE4MDU1MjA2NDIyMTMxOTM2MA.GLOEYF.w-hcyVIxk-ji_ranUnzAQWoBQMl7c1GIUdx3KE 41771983423143937

In progress:

  • logger.py: Downloads all the messages in a channel into a file
  • members.py: Saves all members of a channel