Socket
Socket
Sign inDemoInstall

discord-du

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    discord-du

A API wrapper for Dangerous Users Data Base


Maintainers
1

Readme

du.py

🦴 A Python API for Dangerous Users DB!

Install

Just put in a terminal this simple command:

# For Linux
sudo pip3 install discord-du

# For others systems (Windows, MacOS...)
pip install discord-du

Basic usage

from dudb import DUapi

# Note: by default, it will look for discord.riverside.rocks website.
# If you want to change the instance, add the argument "url":
# du = DUapi(url = "https://discord.example.com")
du = DUapi(token="Your token")

# Get status of a user
print(du.getStatus("466262009256869889"))

# Report a user
du.report("466262009256869889", "He spammed my server")

# Get basic stats from the current instance
print(du.getStats())

# Delete all reports from the account where the API token was generated
du.deleteAllReports()

# Get the user whitelist of the current instance
print(du.getWhitelist())

License

This repository is licensed under the MIT License.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc